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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007769/0.000777, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 183.7 kB / 16.92 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003925, allocations: 12 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.641, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.158/0.799, allocations: 144.9 MB / 1.165 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004552/0.8036, allocations: 3.626 MB / 1.169 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.8038, allocations: 0 / 1.169 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.8041, allocations: 55.77 kB / 1.169 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.8045, allocations: 131.3 kB / 1.169 GB, free: 10.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.807, allocations: 0.9481 MB / 1.17 GB, free: 9.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.8075, allocations: 495.4 kB / 1.17 GB, free: 9.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.8075, allocations: 13.56 kB / 1.17 GB, free: 9.121 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.8079, allocations: 179.3 kB / 1.171 GB, free: 8.945 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.8081, allocations: 135.5 kB / 1.171 GB, free: 8.812 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.8081, allocations: 8 kB / 1.171 GB, free: 8.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.8107, allocations: 1.527 MB / 1.172 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.8109, allocations: 71.78 kB / 1.172 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.811, allocations: 133.2 kB / 1.172 GB, free: 7.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007485/0.8118, allocations: 449 kB / 1.173 GB, free: 6.629 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8118, allocations: 4 kB / 1.173 GB, free: 6.625 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8118, allocations: 4 kB / 1.173 GB, free: 6.621 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.8118, allocations: 3.938 kB / 1.173 GB, free: 6.617 MB / 0.92 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.001122/0.8129, allocations: 0.5398 MB / 1.173 GB, free: 6.031 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.813, allocations: 11.98 kB / 1.173 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.8142, allocations: 132.6 kB / 1.173 GB, free: 5.891 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.8144, allocations: 228 kB / 1.174 GB, free: 5.629 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.8145, allocations: 16.31 kB / 1.174 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.8145, allocations: 16 kB / 1.174 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.8151, allocations: 342.3 kB / 1.174 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.8151, allocations: 3.938 kB / 1.174 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.8151, allocations: 8 kB / 1.174 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.8152, allocations: 16 kB / 1.174 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.8157, allocations: 320.1 kB / 1.174 GB, free: 4.902 MB / 0.92 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.001571/0.8173, allocations: 1.113 MB / 1.175 GB, free: 3.699 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.8178, allocations: 192.6 kB / 1.176 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.818, allocations: 76.81 kB / 1.176 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.8185, allocations: 469.4 kB / 1.176 GB, free: 2.875 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.8186, allocations: 34.56 kB / 1.176 GB, free: 2.832 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 2.404e-06/0.8186, allocations: 0 / 1.176 GB, free: 2.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0006881/0.8193, allocations: 260.1 kB / 1.176 GB, free: 2.574 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.8193, allocations: 55.41 kB / 1.176 GB, free: 2.508 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.8196, allocations: 211 kB / 1.177 GB, free: 2.289 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.8196, allocations: 33.69 kB / 1.177 GB, free: 2.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.8197, allocations: 140 kB / 1.177 GB, free: 2.109 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.8198, allocations: 82.84 kB / 1.177 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.8198, allocations: 29.7 kB / 1.177 GB, free: 1.992 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8199, allocations: 326.8 kB / 1.177 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.8201, allocations: 68.22 kB / 1.177 GB, free: 1.598 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.8203, allocations: 156.2 kB / 1.177 GB, free: 1.406 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.8206, allocations: 257.1 kB / 1.178 GB, free: 1.117 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8206, allocations: 0 / 1.178 GB, free: 1.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005082/0.8211, allocations: 285 kB / 1.178 GB, free: 0.832 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8211, allocations: 4 kB / 1.178 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.8212, allocations: 7.984 kB / 1.178 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.8212, allocations: 8.312 kB / 1.178 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.8214, allocations: 55.92 kB / 1.178 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.8215, allocations: 4 kB / 1.178 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.8217, allocations: 35.67 kB / 1.178 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.8217, allocations: 19.94 kB / 1.178 GB, free: 0.6992 MB / 0.92 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.0001271/0.8219, allocations: 138.1 kB / 1.178 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.822, allocations: 27.75 kB / 1.178 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.8225, allocations: 288.4 kB / 1.179 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.8225, allocations: 3.938 kB / 1.179 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8225, allocations: 7.984 kB / 1.179 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8226, allocations: 0 / 1.179 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.8233, allocations: 0.578 MB / 1.179 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8233, allocations: 0 / 1.179 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.8235, allocations: 36.05 kB / 1.179 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8235, allocations: 3.938 kB / 1.179 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.8235, allocations: 8 kB / 1.179 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.8236, allocations: 0 / 1.179 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8236, allocations: 4 kB / 1.179 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.8241, allocations: 352.6 kB / 1.18 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.8242, allocations: 120.8 kB / 1.18 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.8242, allocations: 4 kB / 1.18 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.8245, allocations: 14.44 kB / 1.18 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.8246, allocations: 15.92 kB / 1.18 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.8246, allocations: 15.98 kB / 1.18 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001373/0.8247, allocations: 149.5 kB / 1.18 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.483e-06/0.8247, allocations: 4 kB / 1.18 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005359/0.8253, allocations: 123.8 kB / 1.18 GB, free: 14.72 MB / 0.9356 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.0004508/0.8257, allocations: 211 kB / 1.18 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.8261, allocations: 204 kB / 1.18 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8261, allocations: 0 / 1.18 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.8263, allocations: 111.7 kB / 1.18 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/0.827, allocations: 100.3 kB / 1.181 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.8279, allocations: 0.6006 MB / 1.181 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.8282, allocations: 0.7367 MB / 1.182 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.8283, allocations: 27.44 kB / 1.182 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.8284, allocations: 0 / 1.182 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of Templates: time 0.007197/0.8356, allocations: 4.316 MB / 1.186 GB, free: 8.379 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirProperties.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches