Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 194.8 kB / 16.26 MB, free: 6.621 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.294/1.294, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.3 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.89 kB / 0.8121 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5054, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1279/0.6334, allocations: 147 MB / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.6368, allocations: 3.616 MB / 1.096 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.6369, allocations: 4 kB / 1.096 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.6373, allocations: 59.75 kB / 1.096 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.6375, allocations: 123.3 kB / 1.096 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.6395, allocations: 0.9491 MB / 1.097 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.6398, allocations: 319.8 kB / 1.098 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.6399, allocations: 9.562 kB / 1.098 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003601/0.6403, allocations: 183.2 kB / 1.098 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.6404, allocations: 147.5 kB / 1.098 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.6405, allocations: 12 kB / 1.098 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.642, allocations: 1.278 MB / 1.099 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/0.6421, allocations: 71.78 kB / 1.099 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.6423, allocations: 107.5 kB / 1.099 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.6433, allocations: 0.7346 MB / 1.1 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6433, allocations: 0 / 1.1 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6433, allocations: 0 / 1.1 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.6434, allocations: 0 / 1.1 GB, free: 6.914 MB / 0.8575 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.0009783/0.6443, allocations: 0.5928 MB / 1.101 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.6444, allocations: 16.02 kB / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.6444, allocations: 54.73 kB / 1.101 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.6456, allocations: 128.6 kB / 1.101 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.6458, allocations: 223.8 kB / 1.101 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.6458, allocations: 16.38 kB / 1.101 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.6458, allocations: 16 kB / 1.101 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.6463, allocations: 342 kB / 1.102 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6464, allocations: 0 / 1.102 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.6464, allocations: 15.98 kB / 1.102 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.6464, allocations: 15.98 kB / 1.102 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.6469, allocations: 316.1 kB / 1.102 GB, free: 5.09 MB / 0.8575 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.001371/0.6483, allocations: 1.117 MB / 1.103 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.6487, allocations: 194.4 kB / 1.103 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.6489, allocations: 88.75 kB / 1.103 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/0.6493, allocations: 461.5 kB / 1.104 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.6494, allocations: 34.56 kB / 1.104 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.6494, allocations: 0 / 1.104 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0005937/0.65, allocations: 264.7 kB / 1.104 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.65, allocations: 59.39 kB / 1.104 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.6502, allocations: 199.2 kB / 1.104 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.6502, allocations: 29.7 kB / 1.104 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.6503, allocations: 143.9 kB / 1.104 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.6504, allocations: 82.94 kB / 1.104 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/0.6504, allocations: 49.7 kB / 1.104 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.6505, allocations: 330.8 kB / 1.105 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.6506, allocations: 68.22 kB / 1.105 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.6508, allocations: 168.7 kB / 1.105 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.6511, allocations: 244.2 kB / 1.105 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6511, allocations: 3.938 kB / 1.105 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004563/0.6516, allocations: 288.2 kB / 1.106 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6516, allocations: 4 kB / 1.106 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6516, allocations: 4 kB / 1.106 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6516, allocations: 7.938 kB / 1.106 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.6519, allocations: 60.28 kB / 1.106 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6519, allocations: 12 kB / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.6521, allocations: 27.69 kB / 1.106 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.6521, allocations: 15.98 kB / 1.106 GB, free: 0.8516 MB / 0.8575 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.0001057/0.6522, allocations: 133.8 kB / 1.106 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.6524, allocations: 23.91 kB / 1.106 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.6528, allocations: 297 kB / 1.106 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6528, allocations: 4 kB / 1.106 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6528, allocations: 0 / 1.106 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6528, allocations: 0 / 1.106 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006324/0.6535, allocations: 0.5817 MB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6535, allocations: 4 kB / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.6537, allocations: 31.92 kB / 1.107 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.6537, allocations: 4 kB / 1.107 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6537, allocations: 4.062 kB / 1.107 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6537, allocations: 7.938 kB / 1.107 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6537, allocations: 0 / 1.107 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.6542, allocations: 351.1 kB / 1.107 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.6543, allocations: 116.8 kB / 1.107 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.6543, allocations: 8 kB / 1.107 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.6546, allocations: 11.98 kB / 1.107 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.6546, allocations: 19.98 kB / 1.107 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.6546, allocations: 11.98 kB / 1.107 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001129/0.6548, allocations: 152.3 kB / 1.107 GB, free: 15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6548, allocations: 0 / 1.107 GB, free: 15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004274/0.6552, allocations: 112 kB / 1.107 GB, free: 14.89 MB / 0.8731 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.0009774/0.6562, allocations: 1.008 MB / 1.108 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.6565, allocations: 213.4 kB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6566, allocations: 4 kB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.6567, allocations: 99.89 kB / 1.109 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.6573, allocations: 92.7 kB / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.6598, allocations: 2.558 MB / 1.111 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.6601, allocations: 0.7405 MB / 1.112 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000283/0.6604, allocations: 58.25 kB / 1.112 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.6605, allocations: 55.42 kB / 1.112 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.6605, allocations: 0 / 1.112 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.649/2.309, allocations: 7.58 MB / 1.12 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003505/2.31, allocations: 180.7 kB / 1.12 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/5.354, allocations: 0 / 1.12 GB, free: 2.188 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches