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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_10_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.00474/0.00474, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001091/0.001091, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.453/2.453, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9046/0.9059, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1771/1.083, allocations: 149.1 MB / 1.312 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004512/1.088, allocations: 3.614 MB / 1.315 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/1.088, allocations: 0 / 1.315 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004238/1.088, allocations: 71.56 kB / 1.315 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004527/1.089, allocations: 139.3 kB / 1.316 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002905/1.092, allocations: 1.033 MB / 1.317 GB, free: 9.211 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005249/1.092, allocations: 323.7 kB / 1.317 GB, free: 8.895 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.694e-05/1.092, allocations: 13.55 kB / 1.317 GB, free: 8.875 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/1.093, allocations: 191.2 kB / 1.317 GB, free: 8.688 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/1.093, allocations: 143.5 kB / 1.317 GB, free: 8.547 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/1.093, allocations: 8 kB / 1.317 GB, free: 8.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/1.096, allocations: 1.224 MB / 1.318 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/1.096, allocations: 67.78 kB / 1.318 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/1.096, allocations: 107.5 kB / 1.319 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/1.098, allocations: 0.6335 MB / 1.319 GB, free: 6.508 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.098, allocations: 0 / 1.319 GB, free: 6.508 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/1.098, allocations: 3.938 kB / 1.319 GB, free: 6.504 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.958e-06/1.098, allocations: 0 / 1.319 GB, free: 6.504 MB / 1.045 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.001317/1.099, allocations: 0.5928 MB / 1.32 GB, free: 5.863 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.099, allocations: 12.92 kB / 1.32 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.689e-05/1.099, allocations: 54.73 kB / 1.32 GB, free: 5.789 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/1.1, allocations: 128.6 kB / 1.32 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/1.101, allocations: 231.7 kB / 1.32 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/1.101, allocations: 16.36 kB / 1.32 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/1.101, allocations: 16 kB / 1.32 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/1.101, allocations: 350 kB / 1.321 GB, free: 5.008 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.101, allocations: 0 / 1.321 GB, free: 5.008 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/1.101, allocations: 8 kB / 1.321 GB, free: 5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/1.101, allocations: 16 kB / 1.321 GB, free: 4.984 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/1.102, allocations: 328 kB / 1.321 GB, free: 4.664 MB / 1.045 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.001642/1.103, allocations: 1.117 MB / 1.322 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/1.104, allocations: 193.1 kB / 1.322 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/1.104, allocations: 81.88 kB / 1.322 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/1.105, allocations: 461.5 kB / 1.323 GB, free: 2.637 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.105, allocations: 38.56 kB / 1.323 GB, free: 2.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.774e-06/1.105, allocations: 0 / 1.323 GB, free: 2.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.000674/1.105, allocations: 254.6 kB / 1.323 GB, free: 2.336 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.105, allocations: 55.41 kB / 1.323 GB, free: 2.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/1.106, allocations: 211.6 kB / 1.323 GB, free: 2.051 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/1.106, allocations: 33.7 kB / 1.323 GB, free: 2.012 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/1.106, allocations: 148 kB / 1.323 GB, free: 1.863 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/1.106, allocations: 74.84 kB / 1.323 GB, free: 1.789 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/1.106, allocations: 49.7 kB / 1.323 GB, free: 1.734 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.106, allocations: 330.8 kB / 1.324 GB, free: 1.402 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/1.106, allocations: 68.23 kB / 1.324 GB, free: 1.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/1.106, allocations: 164.7 kB / 1.324 GB, free: 1.137 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/1.107, allocations: 244.8 kB / 1.324 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.107, allocations: 3.938 kB / 1.324 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005301/1.107, allocations: 286.9 kB / 1.325 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.107, allocations: 11.94 kB / 1.325 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.107, allocations: 384 / 1.325 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.107, allocations: 15.94 kB / 1.325 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/1.108, allocations: 55.91 kB / 1.325 GB, free: 500 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.108, allocations: 7.938 kB / 1.325 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/1.108, allocations: 31.59 kB / 1.325 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/1.108, allocations: 16 kB / 1.325 GB, free: 444 kB / 1.045 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.000136/1.108, allocations: 137.8 kB / 1.325 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/1.108, allocations: 19.81 kB / 1.325 GB, free: 276 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/1.109, allocations: 279.1 kB / 1.325 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.109, allocations: 11.94 kB / 1.325 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.109, allocations: 0 / 1.325 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.109, allocations: 0 / 1.325 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/1.11, allocations: 0.5818 MB / 1.326 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.11, allocations: 4 kB / 1.326 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/1.11, allocations: 31.92 kB / 1.326 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.11, allocations: 4 kB / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/1.11, allocations: 8.047 kB / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.11, allocations: 4 kB / 1.326 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.11, allocations: 4 kB / 1.326 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/1.11, allocations: 350.6 kB / 1.326 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/1.11, allocations: 124.7 kB / 1.326 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/1.111, allocations: 4 kB / 1.326 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/1.111, allocations: 19.98 kB / 1.326 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/1.111, allocations: 7.984 kB / 1.326 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/1.111, allocations: 16 kB / 1.326 GB, free: 14.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000126/1.111, allocations: 149.5 kB / 1.326 GB, free: 14.58 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.111, allocations: 0 / 1.326 GB, free: 14.58 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005469/1.112, allocations: 116 kB / 1.326 GB, free: 14.47 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.001175/1.113, allocations: 1.001 MB / 1.327 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003934/1.113, allocations: 206.3 kB / 1.328 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.113, allocations: 0 / 1.328 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/1.113, allocations: 103.9 kB / 1.328 GB, free: 13.13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/1.114, allocations: 96.59 kB / 1.328 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/1.117, allocations: 2.48 MB / 1.33 GB, free: 10.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.117, allocations: 0.7406 MB / 1.331 GB, free: 9.629 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002543/1.118, allocations: 58.23 kB / 1.331 GB, free: 9.574 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/1.118, allocations: 55.42 kB / 1.331 GB, free: 9.523 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.118, allocations: 3.938 kB / 1.331 GB, free: 9.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/1.144, allocations: 7.748 MB / 1.339 GB, free: 1.906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/9.296, allocations: 0.8438 kB / 1.339 GB, free: 1.906 MB / 1.061 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_AirProperties.fmu > 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