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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001632/0.001632, allocations: 193 kB / 16.14 MB, free: 6.719 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.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.36/2.36, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 58.97 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2321, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1406/0.3727, allocations: 146.8 MB / 1.196 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.3766, allocations: 3.671 MB / 1.199 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3768, allocations: 0 / 1.199 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3771, allocations: 59.77 kB / 1.199 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.3774, allocations: 127.3 kB / 1.199 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.3794, allocations: 0.9447 MB / 1.2 GB, free: 12 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.3798, allocations: 0.4918 MB / 1.201 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.3799, allocations: 9.562 kB / 1.201 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/0.3802, allocations: 171.3 kB / 1.201 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.3804, allocations: 147.4 kB / 1.201 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.3804, allocations: 8 kB / 1.201 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.3826, allocations: 1.531 MB / 1.203 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.072e-05/0.3827, allocations: 67.84 kB / 1.203 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3828, allocations: 107.5 kB / 1.203 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009778/0.3838, allocations: 0.7326 MB / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3838, allocations: 0 / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3838, allocations: 0 / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.3838, allocations: 0 / 1.203 GB, free: 12.75 MB / 0.9669 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.001018/0.3848, allocations: 0.5889 MB / 1.204 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3849, allocations: 19.97 kB / 1.204 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.3849, allocations: 58.67 kB / 1.204 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.3861, allocations: 136.5 kB / 1.204 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3863, allocations: 219.9 kB / 1.204 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3864, allocations: 20.3 kB / 1.204 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.3864, allocations: 16 kB / 1.204 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.3869, allocations: 334.3 kB / 1.205 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3869, allocations: 0 / 1.205 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.387, allocations: 12 kB / 1.205 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.387, allocations: 19.98 kB / 1.205 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.3875, allocations: 320.1 kB / 1.205 GB, free: 10.92 MB / 0.9669 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.001493/0.389, allocations: 1.101 MB / 1.206 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.3895, allocations: 190.5 kB / 1.206 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3896, allocations: 88.75 kB / 1.206 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/0.3902, allocations: 461.4 kB / 1.207 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3902, allocations: 38.5 kB / 1.207 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.3902, allocations: 0 / 1.207 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0006282/0.3909, allocations: 262.6 kB / 1.207 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3909, allocations: 55.41 kB / 1.207 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.3911, allocations: 203.1 kB / 1.207 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3911, allocations: 37.58 kB / 1.207 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.3912, allocations: 144 kB / 1.208 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.3913, allocations: 75 kB / 1.208 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.3914, allocations: 53.61 kB / 1.208 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3915, allocations: 326.8 kB / 1.208 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3916, allocations: 72.22 kB / 1.208 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3918, allocations: 164.7 kB / 1.208 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.3921, allocations: 245.5 kB / 1.209 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3921, allocations: 3.938 kB / 1.209 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005045/0.3926, allocations: 284 kB / 1.209 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3926, allocations: 8.922 kB / 1.209 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3926, allocations: 4 kB / 1.209 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3927, allocations: 7.938 kB / 1.209 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.3929, allocations: 56.3 kB / 1.209 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.393, allocations: 11.98 kB / 1.209 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.3932, allocations: 31.62 kB / 1.209 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.3932, allocations: 16 kB / 1.209 GB, free: 6.695 MB / 0.9669 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.0001129/0.3933, allocations: 141.7 kB / 1.209 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.3935, allocations: 23.72 kB / 1.209 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.3939, allocations: 284.7 kB / 1.209 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3939, allocations: 8 kB / 1.209 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3939, allocations: 0 / 1.209 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3939, allocations: 0 / 1.209 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006688/0.3946, allocations: 0.5882 MB / 1.21 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3946, allocations: 7.938 kB / 1.21 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.3948, allocations: 31.92 kB / 1.21 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3948, allocations: 4 kB / 1.21 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3949, allocations: 8.062 kB / 1.21 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3949, allocations: 4 kB / 1.21 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3949, allocations: 0 / 1.21 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.3953, allocations: 349.4 kB / 1.21 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3955, allocations: 116.8 kB / 1.21 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.3955, allocations: 8 kB / 1.21 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.3958, allocations: 12 kB / 1.21 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.3958, allocations: 15.97 kB / 1.21 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.3958, allocations: 12 kB / 1.21 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001126/0.396, allocations: 152.3 kB / 1.211 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.396, allocations: 3.938 kB / 1.211 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004393/0.3964, allocations: 119.8 kB / 1.211 GB, free: 4.719 MB / 0.9669 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.001013/0.3974, allocations: 0.9877 MB / 1.212 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.3978, allocations: 209.5 kB / 1.212 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3978, allocations: 4 kB / 1.212 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3979, allocations: 101.1 kB / 1.212 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.3985, allocations: 100.7 kB / 1.212 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.4012, allocations: 2.558 MB / 1.215 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.4015, allocations: 0.7406 MB / 1.215 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002834/0.4018, allocations: 54.25 kB / 1.215 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.4019, allocations: 63.36 kB / 1.215 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.4019, allocations: 0 / 1.215 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4441/0.846, allocations: 7.39 MB / 1.223 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.8462, allocations: 186.3 kB / 1.223 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.183, allocations: 0 / 1.223 GB, free: 8.188 MB / 0.9825 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