Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 107.7 kB / 16.46 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 208.3 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.005/3.005, allocations: 0.49 GB / 0.7916 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 74.94 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3354, allocations: 176.1 MB / 1.321 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1879/0.5233, allocations: 152.4 MB / 1.47 GB, free: 10.29 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004525/0.5278, allocations: 3.645 MB / 1.473 GB, free: 6.637 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.5279, allocations: 4 kB / 1.473 GB, free: 6.633 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.5283, allocations: 67.62 kB / 1.473 GB, free: 6.566 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.5286, allocations: 135.2 kB / 1.473 GB, free: 6.434 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.5314, allocations: 1.046 MB / 1.474 GB, free: 5.387 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.5319, allocations: 319.7 kB / 1.475 GB, free: 5.074 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.5319, allocations: 5.562 kB / 1.475 GB, free: 5.066 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.5323, allocations: 207.4 kB / 1.475 GB, free: 4.863 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.5325, allocations: 135.5 kB / 1.475 GB, free: 4.73 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.5325, allocations: 12 kB / 1.475 GB, free: 4.719 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.5348, allocations: 1.294 MB / 1.476 GB, free: 3.422 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.535, allocations: 83.72 kB / 1.476 GB, free: 3.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.5351, allocations: 107.5 kB / 1.477 GB, free: 3.234 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.5362, allocations: 0.6427 MB / 1.477 GB, free: 2.59 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5363, allocations: 0 / 1.477 GB, free: 2.59 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5363, allocations: 0 / 1.477 GB, free: 2.59 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.5363, allocations: 0 / 1.477 GB, free: 2.59 MB / 1.17 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.001366/0.5376, allocations: 0.6013 MB / 1.478 GB, free: 1.941 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5377, allocations: 15.98 kB / 1.478 GB, free: 1.926 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.511e-05/0.5377, allocations: 54.73 kB / 1.478 GB, free: 1.863 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.5392, allocations: 136.7 kB / 1.478 GB, free: 1.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.5395, allocations: 235.7 kB / 1.478 GB, free: 1.461 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.5395, allocations: 8.375 kB / 1.478 GB, free: 1.453 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.5395, allocations: 23.94 kB / 1.478 GB, free: 1.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.5402, allocations: 330.3 kB / 1.479 GB, free: 1.086 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5402, allocations: 0 / 1.479 GB, free: 1.086 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.5402, allocations: 15.98 kB / 1.479 GB, free: 1.07 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.5402, allocations: 19.94 kB / 1.479 GB, free: 1.051 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/0.5408, allocations: 324.1 kB / 1.479 GB, free: 0.7344 MB / 1.17 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.001899/0.5427, allocations: 1.109 MB / 1.48 GB, free: 15.53 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.5432, allocations: 178.5 kB / 1.48 GB, free: 15.35 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.5433, allocations: 86.98 kB / 1.48 GB, free: 15.26 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005863/0.5439, allocations: 457.5 kB / 1.481 GB, free: 14.72 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.544, allocations: 42.56 kB / 1.481 GB, free: 14.67 MB / 1.186 GB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.544, allocations: 0 / 1.481 GB, free: 14.67 MB / 1.186 GB Notification: Performance of matching and sorting (n=21): time 0.0007522/0.5447, allocations: 257.3 kB / 1.481 GB, free: 14.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.5448, allocations: 55.41 kB / 1.481 GB, free: 14.35 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.545, allocations: 211.1 kB / 1.481 GB, free: 14.13 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.545, allocations: 33.7 kB / 1.481 GB, free: 14.09 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.5451, allocations: 144.3 kB / 1.481 GB, free: 13.95 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.5452, allocations: 75.31 kB / 1.481 GB, free: 13.87 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.5453, allocations: 57.66 kB / 1.481 GB, free: 13.81 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5455, allocations: 334.8 kB / 1.482 GB, free: 13.47 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.5456, allocations: 64.23 kB / 1.482 GB, free: 13.41 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.5458, allocations: 156.8 kB / 1.482 GB, free: 13.22 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.5462, allocations: 248.6 kB / 1.482 GB, free: 12.94 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.5462, allocations: 4.047 kB / 1.482 GB, free: 12.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005671/0.5468, allocations: 289.7 kB / 1.483 GB, free: 12.64 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5468, allocations: 7.938 kB / 1.483 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5468, allocations: 4 kB / 1.483 GB, free: 12.63 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.5468, allocations: 7.938 kB / 1.483 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.5471, allocations: 55.91 kB / 1.483 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.5471, allocations: 4 kB / 1.483 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.5473, allocations: 32.11 kB / 1.483 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.5473, allocations: 20 kB / 1.483 GB, free: 12.52 MB / 1.186 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.0001621/0.5475, allocations: 143.5 kB / 1.483 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.5476, allocations: 19.91 kB / 1.483 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/0.5482, allocations: 287.1 kB / 1.483 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.5482, allocations: 3.984 kB / 1.483 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5482, allocations: 0 / 1.483 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5482, allocations: 0 / 1.483 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008571/0.5491, allocations: 0.5877 MB / 1.484 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5491, allocations: 0 / 1.484 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.5493, allocations: 31.98 kB / 1.484 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5493, allocations: 0 / 1.484 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.5493, allocations: 11.98 kB / 1.484 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5493, allocations: 0 / 1.484 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5493, allocations: 3.938 kB / 1.484 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.5499, allocations: 355.1 kB / 1.484 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.55, allocations: 120.9 kB / 1.484 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.5501, allocations: 8 kB / 1.484 GB, free: 10.85 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.5503, allocations: 15.98 kB / 1.484 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.5504, allocations: 15.89 kB / 1.484 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.5504, allocations: 12 kB / 1.484 GB, free: 10.8 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001859/0.5506, allocations: 156.3 kB / 1.484 GB, free: 10.65 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5506, allocations: 3.938 kB / 1.484 GB, free: 10.65 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005269/0.5511, allocations: 123.8 kB / 1.484 GB, free: 10.53 MB / 1.186 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.001271/0.5524, allocations: 0.9963 MB / 1.485 GB, free: 9.496 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.5528, allocations: 197.9 kB / 1.486 GB, free: 9.305 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5528, allocations: 4.25 kB / 1.486 GB, free: 9.301 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.553, allocations: 99.81 kB / 1.486 GB, free: 9.203 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.5537, allocations: 87.97 kB / 1.486 GB, free: 9.117 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.5572, allocations: 2.497 MB / 1.488 GB, free: 6.465 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.5577, allocations: 0.7406 MB / 1.489 GB, free: 5.699 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002338/0.5579, allocations: 62.19 kB / 1.489 GB, free: 5.641 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.5581, allocations: 55.42 kB / 1.489 GB, free: 5.586 MB / 1.186 GB Notification: Performance of SimCode: time 4.71e-07/0.5581, allocations: 0 / 1.489 GB, free: 5.586 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.5919, allocations: 7.845 MB / 1.497 GB, free: 13.88 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.647, allocations: 5.719 kB / 1.497 GB, free: 13.87 MB / 1.201 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_AirProperties.fmu > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.865218824939802]