Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001628, allocations: 113.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 245.7 MB, free: 4.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437.1 MB / 0.7177 GB, free: 4.496 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 1.028 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3208, allocations: 151.6 MB / 1.176 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7906/1.111, allocations: 149.1 MB / 1.321 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004496/1.116, allocations: 3.616 MB / 1.325 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/1.116, allocations: 1.438 kB / 1.325 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004541/1.117, allocations: 65.73 kB / 1.325 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005147/1.117, allocations: 136.8 kB / 1.325 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/1.121, allocations: 1.014 MB / 1.326 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005954/1.121, allocations: 319.4 kB / 1.326 GB, free: 11.94 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.29e-05/1.121, allocations: 15.14 kB / 1.327 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005422/1.122, allocations: 192.1 kB / 1.327 GB, free: 11.87 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/1.122, allocations: 135.9 kB / 1.327 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/1.122, allocations: 14.56 kB / 1.327 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/1.125, allocations: 1.215 MB / 1.328 GB, free: 11.53 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/1.125, allocations: 65.62 kB / 1.328 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/1.125, allocations: 110.5 kB / 1.328 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/1.127, allocations: 0.6362 MB / 1.329 GB, free: 11.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.127, allocations: 0.6562 kB / 1.329 GB, free: 11.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.833e-06/1.127, allocations: 0 / 1.329 GB, free: 11.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.134e-05/1.127, allocations: 1.312 kB / 1.329 GB, free: 11.36 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001517/1.128, allocations: 0.5905 MB / 1.329 GB, free: 10.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.129, allocations: 9.812 kB / 1.329 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.13, allocations: 138.1 kB / 1.33 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/1.13, allocations: 227.3 kB / 1.33 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/1.13, allocations: 15 kB / 1.33 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/1.13, allocations: 19.16 kB / 1.33 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006163/1.131, allocations: 343.1 kB / 1.33 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/1.131, allocations: 3.938 kB / 1.33 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/1.131, allocations: 6.844 kB / 1.33 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/1.131, allocations: 17.56 kB / 1.33 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/1.132, allocations: 332.8 kB / 1.33 GB, free: 10.56 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/1.133, allocations: 1.121 MB / 1.332 GB, free: 9.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/1.134, allocations: 185.5 kB / 1.332 GB, free: 9.742 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/1.134, allocations: 83.3 kB / 1.332 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/1.135, allocations: 463.8 kB / 1.332 GB, free: 9.258 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/1.135, allocations: 35.58 kB / 1.332 GB, free: 9.219 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/1.135, allocations: 2.188 kB / 1.332 GB, free: 9.219 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.0007316/1.136, allocations: 267.1 kB / 1.333 GB, free: 9.164 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/1.136, allocations: 54.23 kB / 1.333 GB, free: 9.102 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/1.136, allocations: 204.4 kB / 1.333 GB, free: 8.996 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/1.136, allocations: 30.73 kB / 1.333 GB, free: 8.965 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.136, allocations: 150.4 kB / 1.333 GB, free: 8.844 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/1.136, allocations: 85.23 kB / 1.333 GB, free: 8.785 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.787e-05/1.136, allocations: 55.69 kB / 1.333 GB, free: 8.766 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.136, allocations: 326.9 kB / 1.333 GB, free: 8.453 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/1.136, allocations: 72.59 kB / 1.333 GB, free: 8.453 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/1.137, allocations: 154.6 kB / 1.334 GB, free: 8.348 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/1.137, allocations: 248.1 kB / 1.334 GB, free: 8.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.137, allocations: 5.562 kB / 1.334 GB, free: 8.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005932/1.138, allocations: 284.5 kB / 1.334 GB, free: 8.121 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.138, allocations: 6.344 kB / 1.334 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/1.138, allocations: 3.812 kB / 1.334 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.138, allocations: 4.453 kB / 1.334 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/1.138, allocations: 68.03 kB / 1.334 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.138, allocations: 4.453 kB / 1.334 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/1.138, allocations: 30.25 kB / 1.334 GB, free: 8.086 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/1.138, allocations: 10.16 kB / 1.334 GB, free: 8.086 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001578/1.138, allocations: 136.3 kB / 1.334 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/1.139, allocations: 24.09 kB / 1.334 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005362/1.139, allocations: 280.2 kB / 1.335 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.139, allocations: 10.86 kB / 1.335 GB, free: 7.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.139, allocations: 4 kB / 1.335 GB, free: 7.816 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/1.139, allocations: 2.797 kB / 1.335 GB, free: 7.816 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/1.14, allocations: 0.5746 MB / 1.335 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.14, allocations: 3.938 kB / 1.335 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/1.14, allocations: 39.06 kB / 1.335 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.14, allocations: 5.812 kB / 1.335 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/1.14, allocations: 2.375 kB / 1.335 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/1.14, allocations: 2.078 kB / 1.335 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.14, allocations: 11.44 kB / 1.335 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/1.141, allocations: 342.2 kB / 1.336 GB, free: 7.188 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/1.141, allocations: 122 kB / 1.336 GB, free: 7.074 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/1.141, allocations: 3.516 kB / 1.336 GB, free: 7.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/1.141, allocations: 16.22 kB / 1.336 GB, free: 7.066 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/1.141, allocations: 19.11 kB / 1.336 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/1.142, allocations: 11.62 kB / 1.336 GB, free: 7.059 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001553/1.142, allocations: 150.9 kB / 1.336 GB, free: 6.965 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.142, allocations: 0 / 1.336 GB, free: 6.965 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005877/1.142, allocations: 118.8 kB / 1.336 GB, free: 6.941 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007388/1.143, allocations: 215.9 kB / 1.336 GB, free: 6.816 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004771/1.144, allocations: 208 kB / 1.336 GB, free: 6.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.144, allocations: 1.344 kB / 1.336 GB, free: 6.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/1.144, allocations: 100.5 kB / 1.337 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/1.144, allocations: 107.5 kB / 1.337 GB, free: 6.711 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000931/1.145, allocations: 0.4902 MB / 1.337 GB, free: 6.406 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/1.146, allocations: 0.7332 MB / 1.338 GB, free: 5.711 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.146, allocations: 30.16 kB / 1.338 GB, free: 5.699 MB / 1.014 GB Notification: Performance of SimCode: time 2.245e-06/1.146, allocations: 0 / 1.338 GB, free: 5.699 MB / 1.014 GB Notification: Performance of Templates: time 0.009014/1.155, allocations: 4.371 MB / 1.342 GB, free: 5.281 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirProperties.sim & ./Buildings_10_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.024074038956314]