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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 103.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.88 kB / 1.134 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9392/0.9412, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1793/1.121, allocations: 149.5 MB / 1.45 GB, free: 3.383 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.004729/1.125, allocations: 3.613 MB / 1.454 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/1.125, allocations: 1.156 kB / 1.454 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/1.126, allocations: 68.38 kB / 1.454 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003722/1.126, allocations: 144.4 kB / 1.454 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003553/1.13, allocations: 1.04 MB / 1.455 GB, free: 212 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006243/1.13, allocations: 314.9 kB / 1.455 GB, free: 84 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/1.13, allocations: 7.438 kB / 1.455 GB, free: 76 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/1.131, allocations: 203.7 kB / 1.455 GB, free: 15.98 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/1.131, allocations: 136.4 kB / 1.455 GB, free: 15.93 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/1.131, allocations: 10.84 kB / 1.455 GB, free: 15.93 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/1.135, allocations: 1.295 MB / 1.457 GB, free: 15.42 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/1.135, allocations: 66.59 kB / 1.457 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/1.135, allocations: 109.3 kB / 1.457 GB, free: 15.34 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/1.137, allocations: 0.6351 MB / 1.457 GB, free: 15.14 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.137, allocations: 1.094 kB / 1.457 GB, free: 15.14 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.775e-06/1.137, allocations: 0.8438 kB / 1.457 GB, free: 15.14 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.363e-05/1.137, allocations: 0 / 1.457 GB, free: 15.14 MB / 1.154 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.001648/1.139, allocations: 0.6001 MB / 1.458 GB, free: 14.64 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/1.139, allocations: 10.84 kB / 1.458 GB, free: 14.64 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.256e-05/1.139, allocations: 54.61 kB / 1.458 GB, free: 14.59 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/1.141, allocations: 137.7 kB / 1.458 GB, free: 14.56 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/1.141, allocations: 224.7 kB / 1.458 GB, free: 14.33 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/1.141, allocations: 20.09 kB / 1.458 GB, free: 14.32 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/1.141, allocations: 23.81 kB / 1.459 GB, free: 14.31 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/1.142, allocations: 331.6 kB / 1.459 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/1.142, allocations: 1.188 kB / 1.459 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/1.142, allocations: 14.72 kB / 1.459 GB, free: 14.15 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/1.142, allocations: 14.69 kB / 1.459 GB, free: 14.15 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/1.142, allocations: 324.9 kB / 1.459 GB, free: 14.07 MB / 1.154 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.002013/1.144, allocations: 1.106 MB / 1.46 GB, free: 13.19 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/1.145, allocations: 179.3 kB / 1.46 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/1.145, allocations: 80.06 kB / 1.46 GB, free: 13.11 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006548/1.146, allocations: 455.5 kB / 1.461 GB, free: 12.63 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/1.146, allocations: 40.64 kB / 1.461 GB, free: 12.59 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.694e-06/1.146, allocations: 1.062 kB / 1.461 GB, free: 12.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0007468/1.147, allocations: 265.4 kB / 1.461 GB, free: 12.49 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/1.147, allocations: 52.78 kB / 1.461 GB, free: 12.43 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/1.147, allocations: 212.3 kB / 1.461 GB, free: 12.29 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/1.147, allocations: 32.8 kB / 1.462 GB, free: 12.25 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/1.147, allocations: 144.6 kB / 1.462 GB, free: 12.12 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/1.147, allocations: 74.72 kB / 1.462 GB, free: 12.07 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/1.147, allocations: 53.45 kB / 1.462 GB, free: 12.03 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.147, allocations: 328.9 kB / 1.462 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/1.148, allocations: 70.36 kB / 1.462 GB, free: 11.7 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/1.148, allocations: 163.1 kB / 1.462 GB, free: 11.57 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/1.148, allocations: 252.3 kB / 1.463 GB, free: 11.4 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.148, allocations: 5.344 kB / 1.463 GB, free: 11.4 MB / 1.154 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005492/1.149, allocations: 287 kB / 1.463 GB, free: 11.29 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.149, allocations: 8.484 kB / 1.463 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.149, allocations: 3.875 kB / 1.463 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.149, allocations: 7.875 kB / 1.463 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/1.149, allocations: 59.16 kB / 1.463 GB, free: 11.28 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.149, allocations: 6.375 kB / 1.463 GB, free: 11.28 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/1.149, allocations: 36.72 kB / 1.463 GB, free: 11.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/1.149, allocations: 10.38 kB / 1.463 GB, free: 11.25 MB / 1.154 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.0001388/1.149, allocations: 141.5 kB / 1.463 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/1.15, allocations: 23.2 kB / 1.463 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/1.15, allocations: 282.8 kB / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.15, allocations: 3.547 kB / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.15, allocations: 0 / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.15, allocations: 1.594 kB / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000918/1.151, allocations: 0.5874 MB / 1.464 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.151, allocations: 1.125 kB / 1.464 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/1.151, allocations: 30.41 kB / 1.464 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.151, allocations: 1.562 kB / 1.464 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/1.151, allocations: 15.33 kB / 1.464 GB, free: 10.56 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/1.151, allocations: 2.141 kB / 1.464 GB, free: 10.56 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.151, allocations: 1.094 kB / 1.464 GB, free: 10.56 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/1.152, allocations: 357.3 kB / 1.464 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/1.152, allocations: 118.2 kB / 1.464 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/1.152, allocations: 6.641 kB / 1.464 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/1.152, allocations: 12.47 kB / 1.464 GB, free: 10.22 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/1.152, allocations: 18.62 kB / 1.464 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/1.152, allocations: 15.81 kB / 1.465 GB, free: 10.21 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001506/1.153, allocations: 154.3 kB / 1.465 GB, free: 10.11 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.153, allocations: 3.938 kB / 1.465 GB, free: 10.11 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006039/1.153, allocations: 118.4 kB / 1.465 GB, free: 10.09 MB / 1.154 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.001237/1.154, allocations: 0.9956 MB / 1.466 GB, free: 9.305 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004269/1.155, allocations: 205.3 kB / 1.466 GB, free: 9.254 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.155, allocations: 5.031 kB / 1.466 GB, free: 9.25 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/1.155, allocations: 92.45 kB / 1.466 GB, free: 9.23 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/1.156, allocations: 100 kB / 1.466 GB, free: 9.195 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/1.159, allocations: 2.488 MB / 1.469 GB, free: 7.402 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/1.159, allocations: 0.7371 MB / 1.469 GB, free: 6.699 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003008/1.16, allocations: 56.27 kB / 1.469 GB, free: 6.68 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/1.16, allocations: 55.8 kB / 1.469 GB, free: 6.648 MB / 1.154 GB Notification: Performance of SimCode: time 1.062e-06/1.16, allocations: 7.938 kB / 1.469 GB, free: 6.641 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/1.193, allocations: 7.775 MB / 1.477 GB, free: 2.965 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/9.601, allocations: 14.3 kB / 1.477 GB, free: 2.957 MB / 1.154 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.864599907305092]