Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001624/0.001624, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002075/0.002075, allocations: 217.8 kB / 22.25 MB, free: 5.117 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.7 MB / 0.7707 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_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.002119/0.002119, allocations: 65.48 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3386, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1932/0.5318, allocations: 152.4 MB / 1.432 GB, free: 2.648 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004698/0.5365, allocations: 3.651 MB / 1.436 GB, free: 14.99 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.5367, allocations: 4 kB / 1.436 GB, free: 14.98 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.537, allocations: 71.62 kB / 1.436 GB, free: 14.91 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.5373, allocations: 139.2 kB / 1.436 GB, free: 14.78 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.54, allocations: 1.05 MB / 1.437 GB, free: 13.73 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.5405, allocations: 319.7 kB / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.5405, allocations: 9.75 kB / 1.437 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.541, allocations: 214.7 kB / 1.438 GB, free: 13.2 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.5412, allocations: 143.5 kB / 1.438 GB, free: 13.05 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.5412, allocations: 15.94 kB / 1.438 GB, free: 13.04 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.5436, allocations: 1.321 MB / 1.439 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.5437, allocations: 75.78 kB / 1.439 GB, free: 11.64 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.5438, allocations: 107.5 kB / 1.439 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.5451, allocations: 0.6434 MB / 1.44 GB, free: 10.89 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5451, allocations: 0 / 1.44 GB, free: 10.89 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5451, allocations: 0 / 1.44 GB, free: 10.89 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.5451, allocations: 4 kB / 1.44 GB, free: 10.89 MB / 1.139 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.001265/0.5463, allocations: 0.5282 MB / 1.44 GB, free: 10.33 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5464, allocations: 8.031 kB / 1.44 GB, free: 10.32 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.331e-05/0.5465, allocations: 54.73 kB / 1.44 GB, free: 10.26 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.5477, allocations: 136.7 kB / 1.441 GB, free: 10.12 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.548, allocations: 177.9 kB / 1.441 GB, free: 9.926 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.5481, allocations: 12.38 kB / 1.441 GB, free: 9.914 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.5481, allocations: 24 kB / 1.441 GB, free: 9.891 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/0.5487, allocations: 334.3 kB / 1.441 GB, free: 9.543 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.5487, allocations: 3.938 kB / 1.441 GB, free: 9.539 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.5488, allocations: 15.98 kB / 1.441 GB, free: 9.523 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.5488, allocations: 15.98 kB / 1.441 GB, free: 9.508 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.5494, allocations: 328.1 kB / 1.441 GB, free: 9.188 MB / 1.139 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.001776/0.5512, allocations: 1.077 MB / 1.442 GB, free: 8.027 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.5517, allocations: 178.4 kB / 1.443 GB, free: 7.844 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.5518, allocations: 76.75 kB / 1.443 GB, free: 7.766 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003779/0.5522, allocations: 79.92 kB / 1.443 GB, free: 7.688 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.5522, allocations: 38.56 kB / 1.443 GB, free: 7.641 MB / 1.139 GB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.5522, allocations: 0 / 1.443 GB, free: 7.641 MB / 1.139 GB Notification: Performance of matching and sorting (n=21): time 0.0007015/0.5529, allocations: 267.4 kB / 1.443 GB, free: 7.375 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.553, allocations: 51.41 kB / 1.443 GB, free: 7.312 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.5532, allocations: 207.2 kB / 1.443 GB, free: 7.098 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.5532, allocations: 33.7 kB / 1.443 GB, free: 7.059 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5533, allocations: 144.2 kB / 1.443 GB, free: 6.914 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.5534, allocations: 79.3 kB / 1.444 GB, free: 6.836 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.5535, allocations: 57.7 kB / 1.444 GB, free: 6.773 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5536, allocations: 326.8 kB / 1.444 GB, free: 6.445 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.5538, allocations: 72.2 kB / 1.444 GB, free: 6.375 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.554, allocations: 164.2 kB / 1.444 GB, free: 6.176 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.5544, allocations: 254.1 kB / 1.444 GB, free: 5.891 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.5544, allocations: 11.88 kB / 1.444 GB, free: 5.879 MB / 1.139 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005997/0.555, allocations: 273.2 kB / 1.445 GB, free: 5.605 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.555, allocations: 8.375 kB / 1.445 GB, free: 5.598 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.555, allocations: 11.98 kB / 1.445 GB, free: 5.586 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.555, allocations: 8.047 kB / 1.445 GB, free: 5.578 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.5553, allocations: 55.86 kB / 1.445 GB, free: 5.523 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.5553, allocations: 4 kB / 1.445 GB, free: 5.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.5555, allocations: 31.73 kB / 1.445 GB, free: 5.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.5556, allocations: 19.98 kB / 1.445 GB, free: 5.469 MB / 1.139 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.0001483/0.5557, allocations: 137.7 kB / 1.445 GB, free: 5.324 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.5559, allocations: 23.89 kB / 1.445 GB, free: 5.301 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.5564, allocations: 289 kB / 1.445 GB, free: 5.012 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5564, allocations: 4 kB / 1.445 GB, free: 5.008 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5564, allocations: 0 / 1.445 GB, free: 5.008 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5564, allocations: 0 / 1.445 GB, free: 5.008 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008296/0.5572, allocations: 0.5643 MB / 1.446 GB, free: 4.391 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5572, allocations: 0 / 1.446 GB, free: 4.391 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.5574, allocations: 35.92 kB / 1.446 GB, free: 4.355 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5574, allocations: 4.062 kB / 1.446 GB, free: 4.352 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.5575, allocations: 12 kB / 1.446 GB, free: 4.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5575, allocations: 0 / 1.446 GB, free: 4.34 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5575, allocations: 0 / 1.446 GB, free: 4.34 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005706/0.558, allocations: 353.5 kB / 1.446 GB, free: 3.973 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5582, allocations: 47.77 kB / 1.446 GB, free: 3.926 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.5582, allocations: 4 kB / 1.446 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.5584, allocations: 15.92 kB / 1.446 GB, free: 3.906 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.5585, allocations: 15.91 kB / 1.446 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.5585, allocations: 16 kB / 1.446 GB, free: 3.875 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000175/0.5587, allocations: 157.4 kB / 1.446 GB, free: 3.723 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5587, allocations: 0 / 1.446 GB, free: 3.723 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005196/0.5592, allocations: 111.8 kB / 1.447 GB, free: 3.613 MB / 1.139 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/0.5604, allocations: 1.02 MB / 1.448 GB, free: 2.559 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.5608, allocations: 195.7 kB / 1.448 GB, free: 2.367 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5608, allocations: 4 kB / 1.448 GB, free: 2.363 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.561, allocations: 95.88 kB / 1.448 GB, free: 2.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.5616, allocations: 95.02 kB / 1.448 GB, free: 2.18 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.5649, allocations: 2.501 MB / 1.45 GB, free: 15.52 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.5653, allocations: 0.7406 MB / 1.451 GB, free: 14.75 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000245/0.5656, allocations: 58.23 kB / 1.451 GB, free: 14.7 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.5657, allocations: 59.41 kB / 1.451 GB, free: 14.64 MB / 1.154 GB Notification: Performance of SimCode: time 3.41e-07/0.5657, allocations: 0 / 1.451 GB, free: 14.64 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.6054, allocations: 8.124 MB / 1.459 GB, free: 6.715 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.06, allocations: 5.984 kB / 1.459 GB, free: 6.711 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirProperties.fmu > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.82051852112636]