Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00148/0.00148, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001569/0.001569, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.903/2.903, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 75.88 kB / 1.107 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.145, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2107/1.356, allocations: 149.6 MB / 1.418 GB, free: 9.098 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004835/1.36, allocations: 3.645 MB / 1.422 GB, free: 6.168 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/1.361, allocations: 1.531 kB / 1.422 GB, free: 6.168 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003969/1.361, allocations: 61.48 kB / 1.422 GB, free: 6.121 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003922/1.361, allocations: 137.5 kB / 1.422 GB, free: 6.012 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/1.364, allocations: 1.042 MB / 1.423 GB, free: 5.246 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/1.365, allocations: 323.4 kB / 1.423 GB, free: 5.078 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/1.365, allocations: 8.531 kB / 1.423 GB, free: 5.078 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/1.365, allocations: 201.5 kB / 1.423 GB, free: 4.965 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/1.365, allocations: 135.2 kB / 1.423 GB, free: 4.891 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/1.365, allocations: 10.16 kB / 1.423 GB, free: 4.891 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/1.368, allocations: 1.291 MB / 1.425 GB, free: 4.152 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/1.368, allocations: 67.12 kB / 1.425 GB, free: 4.109 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/1.368, allocations: 108.9 kB / 1.425 GB, free: 4.051 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/1.369, allocations: 0.6414 MB / 1.426 GB, free: 3.691 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.369, allocations: 5 kB / 1.426 GB, free: 3.688 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.663e-06/1.369, allocations: 0 / 1.426 GB, free: 3.688 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.265e-06/1.369, allocations: 0 / 1.426 GB, free: 3.688 MB / 1.107 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.001291/1.371, allocations: 0.5965 MB / 1.426 GB, free: 3.152 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.371, allocations: 13.09 kB / 1.426 GB, free: 3.148 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.372, allocations: 132.9 kB / 1.426 GB, free: 3.09 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/1.372, allocations: 215.4 kB / 1.426 GB, free: 2.859 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/1.372, allocations: 22.89 kB / 1.426 GB, free: 2.844 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/1.372, allocations: 20.75 kB / 1.427 GB, free: 2.836 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/1.373, allocations: 341 kB / 1.427 GB, free: 2.613 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.373, allocations: 1.656 kB / 1.427 GB, free: 2.613 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/1.373, allocations: 6.344 kB / 1.427 GB, free: 2.609 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/1.373, allocations: 12.09 kB / 1.427 GB, free: 2.609 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/1.373, allocations: 322.4 kB / 1.427 GB, free: 2.469 MB / 1.107 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.001724/1.375, allocations: 1.115 MB / 1.428 GB, free: 1.469 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/1.376, allocations: 177.9 kB / 1.428 GB, free: 1.387 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/1.376, allocations: 83.7 kB / 1.428 GB, free: 1.344 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006138/1.376, allocations: 461.1 kB / 1.429 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/1.376, allocations: 40.69 kB / 1.429 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/1.376, allocations: 1.062 kB / 1.429 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.0007034/1.377, allocations: 268 kB / 1.429 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/1.377, allocations: 53.56 kB / 1.429 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/1.377, allocations: 203.9 kB / 1.429 GB, free: 460 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/1.378, allocations: 32.52 kB / 1.43 GB, free: 424 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.378, allocations: 153 kB / 1.43 GB, free: 276 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/1.378, allocations: 75.86 kB / 1.43 GB, free: 208 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/1.378, allocations: 54.31 kB / 1.43 GB, free: 168 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.378, allocations: 331.8 kB / 1.43 GB, free: 15.84 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/1.378, allocations: 73.95 kB / 1.43 GB, free: 15.8 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/1.378, allocations: 156.8 kB / 1.43 GB, free: 15.66 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/1.379, allocations: 251.2 kB / 1.431 GB, free: 15.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.379, allocations: 1.5 kB / 1.431 GB, free: 15.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005483/1.379, allocations: 287.4 kB / 1.431 GB, free: 15.33 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.379, allocations: 5.75 kB / 1.431 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.379, allocations: 3.531 kB / 1.431 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/1.379, allocations: 8.719 kB / 1.431 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/1.379, allocations: 56.16 kB / 1.431 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.38, allocations: 9.031 kB / 1.431 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/1.38, allocations: 28.16 kB / 1.431 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/1.38, allocations: 14.25 kB / 1.431 GB, free: 15.29 MB / 1.123 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.0001414/1.38, allocations: 142 kB / 1.431 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/1.38, allocations: 32.44 kB / 1.431 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/1.381, allocations: 266 kB / 1.431 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.381, allocations: 10.42 kB / 1.431 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.381, allocations: 0 / 1.431 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.381, allocations: 0 / 1.431 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007742/1.381, allocations: 0.5882 MB / 1.432 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.381, allocations: 4.062 kB / 1.432 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/1.382, allocations: 39.72 kB / 1.432 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.382, allocations: 5.688 kB / 1.432 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/1.382, allocations: 5.312 kB / 1.432 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.382, allocations: 1.219 kB / 1.432 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.382, allocations: 1.281 kB / 1.432 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/1.382, allocations: 360.2 kB / 1.432 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.382, allocations: 109.4 kB / 1.432 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/1.382, allocations: 6.438 kB / 1.432 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/1.383, allocations: 13.77 kB / 1.432 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/1.383, allocations: 10.89 kB / 1.432 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/1.383, allocations: 17.41 kB / 1.433 GB, free: 14.09 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001424/1.383, allocations: 153.1 kB / 1.433 GB, free: 13.98 MB / 1.123 GB Notification: Performance of sort global known variables: time 6.1e-08/1.383, allocations: 0 / 1.433 GB, free: 13.98 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005986/1.383, allocations: 128.5 kB / 1.433 GB, free: 13.95 MB / 1.123 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.0004871/1.384, allocations: 215 kB / 1.433 GB, free: 13.8 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004272/1.384, allocations: 201 kB / 1.433 GB, free: 13.72 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.384, allocations: 1.375 kB / 1.433 GB, free: 13.72 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/1.384, allocations: 95.45 kB / 1.433 GB, free: 13.69 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/1.385, allocations: 96.33 kB / 1.433 GB, free: 13.64 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/1.386, allocations: 475.1 kB / 1.434 GB, free: 13.32 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/1.386, allocations: 0.7346 MB / 1.435 GB, free: 12.61 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002548/1.387, allocations: 63.61 kB / 1.435 GB, free: 12.57 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/1.387, allocations: 26.7 kB / 1.435 GB, free: 12.56 MB / 1.123 GB Notification: Performance of SimCode: time 4.51e-07/1.387, allocations: 5.188 kB / 1.435 GB, free: 12.55 MB / 1.123 GB Notification: Performance of Templates: time 0.01145/1.398, allocations: 5.622 MB / 1.44 GB, free: 7.938 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.992037624120712]