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.001303/0.001303, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001449/0.001449, allocations: 216.4 kB / 23.04 MB, free: 5.078 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.838/2.838, allocations: 476.7 MB / 0.7714 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirProperties",fmuType="cs",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.002019/0.002019, allocations: 65.83 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.371, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1948/0.5658, allocations: 152.4 MB / 1.433 GB, free: 2.684 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004886/0.5707, allocations: 3.645 MB / 1.437 GB, free: 15.03 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.5708, allocations: 0 / 1.437 GB, free: 15.03 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.5712, allocations: 79.56 kB / 1.437 GB, free: 14.95 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.5716, allocations: 135.3 kB / 1.437 GB, free: 14.82 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.5747, allocations: 1.051 MB / 1.438 GB, free: 13.76 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.5752, allocations: 319.7 kB / 1.438 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.5752, allocations: 9.75 kB / 1.438 GB, free: 13.44 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.5757, allocations: 214.7 kB / 1.438 GB, free: 13.23 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.5759, allocations: 135.5 kB / 1.438 GB, free: 13.1 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.5759, allocations: 12 kB / 1.438 GB, free: 13.09 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.5788, allocations: 1.329 MB / 1.44 GB, free: 11.75 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.5789, allocations: 75.78 kB / 1.44 GB, free: 11.68 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.5791, allocations: 107.5 kB / 1.44 GB, free: 11.57 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.581, allocations: 0.6387 MB / 1.441 GB, free: 10.93 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.581, allocations: 0 / 1.441 GB, free: 10.93 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.913e-06/0.581, allocations: 0 / 1.441 GB, free: 10.93 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.581, allocations: 0 / 1.441 GB, free: 10.93 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.001396/0.5824, allocations: 0.5321 MB / 1.441 GB, free: 10.37 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.5824, allocations: 8.031 kB / 1.441 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.116e-05/0.5825, allocations: 12.5 kB / 1.441 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.188e-05/0.5825, allocations: 58.72 kB / 1.441 GB, free: 10.29 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.5838, allocations: 136.7 kB / 1.441 GB, free: 10.15 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.5841, allocations: 157.9 kB / 1.441 GB, free: 9.973 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5841, allocations: 16.38 kB / 1.441 GB, free: 9.957 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.5842, allocations: 20 kB / 1.441 GB, free: 9.938 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.5848, allocations: 346.2 kB / 1.442 GB, free: 9.578 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5848, allocations: 7.984 kB / 1.442 GB, free: 9.57 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.5848, allocations: 8 kB / 1.442 GB, free: 9.562 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/0.5849, allocations: 12 kB / 1.442 GB, free: 9.551 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/0.5854, allocations: 332.1 kB / 1.442 GB, free: 9.227 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.001848/0.5873, allocations: 1.089 MB / 1.443 GB, free: 8.055 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.5878, allocations: 178.4 kB / 1.443 GB, free: 7.871 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.588, allocations: 76.75 kB / 1.443 GB, free: 7.793 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/0.5884, allocations: 83.86 kB / 1.444 GB, free: 7.711 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5884, allocations: 30.56 kB / 1.444 GB, free: 7.672 MB / 1.139 GB Notification: Performance of pre-optimization done (n=21): time 2.444e-06/0.5884, allocations: 0 / 1.444 GB, free: 7.672 MB / 1.139 GB Notification: Performance of matching and sorting (n=21): time 0.000726/0.5891, allocations: 260.6 kB / 1.444 GB, free: 7.414 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.5892, allocations: 59.41 kB / 1.444 GB, free: 7.344 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.5894, allocations: 211.2 kB / 1.444 GB, free: 7.125 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.5895, allocations: 29.7 kB / 1.444 GB, free: 7.09 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.5896, allocations: 152.2 kB / 1.444 GB, free: 6.938 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.5896, allocations: 71.38 kB / 1.444 GB, free: 6.867 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.5897, allocations: 49.7 kB / 1.444 GB, free: 6.812 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5899, allocations: 330.8 kB / 1.445 GB, free: 6.48 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.59, allocations: 76.16 kB / 1.445 GB, free: 6.406 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5902, allocations: 160.2 kB / 1.445 GB, free: 6.211 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.5906, allocations: 258.8 kB / 1.445 GB, free: 5.918 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5906, allocations: 112 / 1.445 GB, free: 5.918 MB / 1.139 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000608/0.5912, allocations: 283.4 kB / 1.445 GB, free: 5.637 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.5912, allocations: 12.03 kB / 1.445 GB, free: 5.625 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5912, allocations: 3.938 kB / 1.445 GB, free: 5.621 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.5912, allocations: 8 kB / 1.445 GB, free: 5.613 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.5915, allocations: 59.91 kB / 1.446 GB, free: 5.555 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.5915, allocations: 7.938 kB / 1.446 GB, free: 5.547 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.5917, allocations: 31.73 kB / 1.446 GB, free: 5.516 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.5918, allocations: 12 kB / 1.446 GB, free: 5.504 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.0001657/0.5919, allocations: 141.7 kB / 1.446 GB, free: 5.355 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5921, allocations: 19.91 kB / 1.446 GB, free: 5.336 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.5926, allocations: 284.2 kB / 1.446 GB, free: 5.051 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.5926, allocations: 4 kB / 1.446 GB, free: 5.047 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5926, allocations: 0 / 1.446 GB, free: 5.047 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5926, allocations: 3.984 kB / 1.446 GB, free: 5.043 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008618/0.5935, allocations: 0.5535 MB / 1.447 GB, free: 4.434 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5935, allocations: 4 kB / 1.447 GB, free: 4.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.5937, allocations: 39.98 kB / 1.447 GB, free: 4.391 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.5937, allocations: 4 kB / 1.447 GB, free: 4.387 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.5937, allocations: 4 kB / 1.447 GB, free: 4.383 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.5937, allocations: 11.92 kB / 1.447 GB, free: 4.371 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5937, allocations: 0 / 1.447 GB, free: 4.371 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.5943, allocations: 362.5 kB / 1.447 GB, free: 3.996 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.5945, allocations: 43.8 kB / 1.447 GB, free: 3.953 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.5945, allocations: 0 / 1.447 GB, free: 3.953 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.5947, allocations: 15.98 kB / 1.447 GB, free: 3.938 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.5948, allocations: 15.97 kB / 1.447 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.5948, allocations: 11.98 kB / 1.447 GB, free: 3.91 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001564/0.595, allocations: 153.4 kB / 1.447 GB, free: 3.762 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.595, allocations: 0 / 1.447 GB, free: 3.762 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006075/0.5956, allocations: 123.8 kB / 1.447 GB, free: 3.641 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.001287/0.5969, allocations: 1.007 MB / 1.448 GB, free: 2.598 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.5973, allocations: 199.7 kB / 1.448 GB, free: 2.402 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5973, allocations: 0 / 1.448 GB, free: 2.402 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.5975, allocations: 92.7 kB / 1.449 GB, free: 2.312 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.5981, allocations: 97.94 kB / 1.449 GB, free: 2.219 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.6014, allocations: 2.52 MB / 1.451 GB, free: 15.55 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.6018, allocations: 0.7406 MB / 1.452 GB, free: 14.78 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002667/0.6021, allocations: 54.25 kB / 1.452 GB, free: 14.73 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.6022, allocations: 55.42 kB / 1.452 GB, free: 14.68 MB / 1.154 GB Notification: Performance of SimCode: time 8.51e-07/0.6022, allocations: 0 / 1.452 GB, free: 14.68 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.6335, allocations: 8.168 MB / 1.46 GB, free: 6.719 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.39, allocations: 4 kB / 1.46 GB, free: 6.715 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: 19.39224324701354]