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.001228/0.001228, allocations: 108 kB / 15.61 MB, free: 148 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.001247/0.001247, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.439/2.439, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 62.86 kB / 0.8992 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.228, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1289/0.3569, allocations: 149.1 MB / 1.198 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.3609, allocations: 3.617 MB / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.361, allocations: 0 / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.3614, allocations: 67.58 kB / 1.202 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.3617, allocations: 135.2 kB / 1.202 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.3641, allocations: 1.008 MB / 1.203 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.3644, allocations: 315.7 kB / 1.203 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.3644, allocations: 13.55 kB / 1.204 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.3648, allocations: 199.1 kB / 1.204 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.365, allocations: 123.6 kB / 1.204 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.365, allocations: 12 kB / 1.204 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.3668, allocations: 1.216 MB / 1.205 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.59e-05/0.3669, allocations: 79.78 kB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.367, allocations: 111.5 kB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3681, allocations: 0.6276 MB / 1.206 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3681, allocations: 0 / 1.206 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3681, allocations: 0 / 1.206 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.3681, allocations: 0 / 1.206 GB, free: 11.14 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.0009901/0.3691, allocations: 0.585 MB / 1.206 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3692, allocations: 16.62 kB / 1.206 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.3692, allocations: 58.72 kB / 1.206 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.3703, allocations: 136.5 kB / 1.207 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3706, allocations: 223.8 kB / 1.207 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3706, allocations: 16.38 kB / 1.207 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.3706, allocations: 23.94 kB / 1.207 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.3711, allocations: 334.3 kB / 1.207 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3711, allocations: 0 / 1.207 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3711, allocations: 12 kB / 1.207 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.3712, allocations: 19.98 kB / 1.207 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.3716, allocations: 316.1 kB / 1.207 GB, free: 9.316 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.001373/0.373, allocations: 1.109 MB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.3735, allocations: 194.9 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.3736, allocations: 88.73 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.3741, allocations: 457.4 kB / 1.209 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3741, allocations: 42.56 kB / 1.209 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.3741, allocations: 0 / 1.209 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0005841/0.3747, allocations: 259.7 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.3748, allocations: 59.39 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.3749, allocations: 211 kB / 1.21 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.375, allocations: 29.7 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.375, allocations: 144 kB / 1.21 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.3751, allocations: 67.02 kB / 1.21 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.3752, allocations: 53.61 kB / 1.21 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.3753, allocations: 330.8 kB / 1.21 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3754, allocations: 72.22 kB / 1.21 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3755, allocations: 159.7 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.3758, allocations: 244.2 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3758, allocations: 7.938 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004479/0.3763, allocations: 283.3 kB / 1.211 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3763, allocations: 8 kB / 1.211 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3763, allocations: 0 / 1.211 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3763, allocations: 11.94 kB / 1.211 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.3766, allocations: 59.91 kB / 1.211 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3766, allocations: 4.375 kB / 1.211 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.3768, allocations: 31.69 kB / 1.211 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.3768, allocations: 12 kB / 1.211 GB, free: 5.098 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.0001079/0.3769, allocations: 141.7 kB / 1.211 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.3771, allocations: 27.7 kB / 1.211 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.3775, allocations: 284.5 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3775, allocations: 4 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3775, allocations: 7.938 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3775, allocations: 0 / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.3781, allocations: 0.5857 MB / 1.212 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3782, allocations: 4 kB / 1.212 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.3783, allocations: 31.92 kB / 1.212 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3783, allocations: 4 kB / 1.212 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3784, allocations: 8 kB / 1.212 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3784, allocations: 8.062 kB / 1.212 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3784, allocations: 0 / 1.212 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.3788, allocations: 349.4 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.3789, allocations: 120.8 kB / 1.213 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.379, allocations: 0 / 1.213 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.3792, allocations: 21.19 kB / 1.213 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.3792, allocations: 7.984 kB / 1.213 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.3793, allocations: 19.98 kB / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001054/0.3794, allocations: 149.5 kB / 1.213 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3794, allocations: 0 / 1.213 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004182/0.3798, allocations: 119.8 kB / 1.213 GB, free: 3.117 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.0009009/0.3807, allocations: 0.99 MB / 1.214 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.3811, allocations: 219.6 kB / 1.214 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3811, allocations: 0 / 1.214 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3812, allocations: 106.1 kB / 1.214 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.3818, allocations: 96.72 kB / 1.214 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.3842, allocations: 2.494 MB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3845, allocations: 0.7444 MB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002627/0.3847, allocations: 54.25 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.3848, allocations: 59.42 kB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3848, allocations: 0 / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7064/1.091, allocations: 7.67 MB / 1.225 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/9.296, allocations: 7.219 kB / 1.225 GB, free: 6.594 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