Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_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.006774/0.006774, allocations: 99.47 kB / 15.73 MB, free: 6.477 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.001222/0.001222, allocations: 198.4 kB / 16.67 MB, free: 6.379 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3308, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.8785/1.209, allocations: 149.1 MB / 1.353 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005091/1.214, allocations: 3.614 MB / 1.356 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/1.215, allocations: 1.281 kB / 1.356 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004218/1.215, allocations: 65.5 kB / 1.357 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005084/1.216, allocations: 131.6 kB / 1.357 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003548/1.219, allocations: 1.013 MB / 1.358 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006559/1.22, allocations: 316.2 kB / 1.358 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/1.22, allocations: 9.906 kB / 1.358 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005606/1.221, allocations: 195.7 kB / 1.358 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/1.221, allocations: 134.3 kB / 1.358 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/1.221, allocations: 11.38 kB / 1.358 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/1.224, allocations: 1.217 MB / 1.359 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/1.224, allocations: 72.55 kB / 1.36 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/1.224, allocations: 107.5 kB / 1.36 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/1.226, allocations: 0.6392 MB / 1.36 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.226, allocations: 3.938 kB / 1.36 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.744e-06/1.226, allocations: 0 / 1.36 GB, free: 10.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.584e-05/1.226, allocations: 0 / 1.36 GB, free: 10.07 MB / 1.061 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.001754/1.228, allocations: 0.5868 MB / 1.361 GB, free: 9.582 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.228, allocations: 9.812 kB / 1.361 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.584e-05/1.228, allocations: 60.81 kB / 1.361 GB, free: 9.527 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/1.229, allocations: 131.1 kB / 1.361 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/1.23, allocations: 225.8 kB / 1.361 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/1.23, allocations: 20.22 kB / 1.361 GB, free: 9.266 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/1.23, allocations: 15.59 kB / 1.361 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/1.231, allocations: 341.8 kB / 1.362 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.231, allocations: 0 / 1.362 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/1.231, allocations: 8.281 kB / 1.362 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/1.231, allocations: 15.09 kB / 1.362 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/1.232, allocations: 319.4 kB / 1.362 GB, free: 9.023 MB / 1.061 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.001795/1.233, allocations: 1.118 MB / 1.363 GB, free: 8.137 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/1.234, allocations: 186.5 kB / 1.363 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/1.234, allocations: 85.94 kB / 1.363 GB, free: 8.055 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/1.235, allocations: 464 kB / 1.364 GB, free: 7.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.235, allocations: 34.84 kB / 1.364 GB, free: 7.531 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 2.295e-06/1.235, allocations: 0 / 1.364 GB, free: 7.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0007312/1.236, allocations: 260.3 kB / 1.364 GB, free: 7.441 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/1.236, allocations: 54.16 kB / 1.364 GB, free: 7.379 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/1.236, allocations: 208.2 kB / 1.364 GB, free: 7.238 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/1.236, allocations: 36.72 kB / 1.364 GB, free: 7.199 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/1.236, allocations: 140 kB / 1.364 GB, free: 7.074 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/1.236, allocations: 82.89 kB / 1.364 GB, free: 7.008 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/1.236, allocations: 52.42 kB / 1.365 GB, free: 6.973 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.236, allocations: 326 kB / 1.365 GB, free: 6.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/1.236, allocations: 76.22 kB / 1.365 GB, free: 6.641 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/1.237, allocations: 165 kB / 1.365 GB, free: 6.512 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/1.237, allocations: 243.2 kB / 1.365 GB, free: 6.352 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.237, allocations: 0 / 1.365 GB, free: 6.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005702/1.238, allocations: 283.1 kB / 1.366 GB, free: 6.246 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.238, allocations: 5.969 kB / 1.366 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.238, allocations: 3.906 kB / 1.366 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.238, allocations: 8.812 kB / 1.366 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/1.238, allocations: 67.47 kB / 1.366 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.238, allocations: 4.75 kB / 1.366 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/1.238, allocations: 31.56 kB / 1.366 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/1.238, allocations: 11.56 kB / 1.366 GB, free: 6.203 MB / 1.061 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.0001503/1.238, allocations: 140.2 kB / 1.366 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/1.239, allocations: 31.91 kB / 1.366 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/1.239, allocations: 275.2 kB / 1.366 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.239, allocations: 12.89 kB / 1.366 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.239, allocations: 1.969 kB / 1.366 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.239, allocations: 0 / 1.366 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008224/1.24, allocations: 0.5785 MB / 1.367 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.24, allocations: 1.281 kB / 1.367 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/1.24, allocations: 38.39 kB / 1.367 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.24, allocations: 1.344 kB / 1.367 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/1.24, allocations: 3.781 kB / 1.367 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/1.24, allocations: 5.688 kB / 1.367 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.24, allocations: 1.188 kB / 1.367 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/1.241, allocations: 345.2 kB / 1.367 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/1.241, allocations: 124.9 kB / 1.367 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/1.241, allocations: 5.938 kB / 1.367 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/1.241, allocations: 14.59 kB / 1.367 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/1.241, allocations: 17.3 kB / 1.367 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/1.241, allocations: 11.31 kB / 1.367 GB, free: 5.184 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001399/1.241, allocations: 152.2 kB / 1.367 GB, free: 5.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.663e-06/1.241, allocations: 0 / 1.367 GB, free: 5.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005957/1.242, allocations: 115.8 kB / 1.368 GB, free: 5.07 MB / 1.061 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.001246/1.243, allocations: 0.9996 MB / 1.368 GB, free: 4.285 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004109/1.244, allocations: 208.2 kB / 1.369 GB, free: 4.234 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.244, allocations: 1.281 kB / 1.369 GB, free: 4.234 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/1.244, allocations: 101.7 kB / 1.369 GB, free: 4.211 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/1.245, allocations: 93.53 kB / 1.369 GB, free: 4.188 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/1.248, allocations: 2.484 MB / 1.371 GB, free: 2.395 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/1.248, allocations: 0.7399 MB / 1.372 GB, free: 1.691 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002999/1.249, allocations: 65.8 kB / 1.372 GB, free: 1.664 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/1.249, allocations: 55.27 kB / 1.372 GB, free: 1.629 MB / 1.061 GB Notification: Performance of SimCode: time 5.1e-07/1.249, allocations: 3.938 kB / 1.372 GB, free: 1.625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/1.281, allocations: 7.824 MB / 1.38 GB, free: 13.98 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/9.493, allocations: 12.52 kB / 1.38 GB, free: 13.97 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches