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.001479/0.001479, 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.001521/0.001521, allocations: 219 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.421/3.421, allocations: 0.49 GB / 0.7959 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_12_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.00306/0.00306, allocations: 71.61 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3981, allocations: 176.1 MB / 1.327 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1927/0.5908, allocations: 152.4 MB / 1.476 GB, free: 8.867 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005627/0.5965, allocations: 3.656 MB / 1.479 GB, free: 5.199 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.5967, allocations: 0 / 1.479 GB, free: 5.199 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.5972, allocations: 63.62 kB / 1.479 GB, free: 5.137 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.5978, allocations: 143.2 kB / 1.479 GB, free: 4.996 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.6011, allocations: 1.059 MB / 1.48 GB, free: 3.938 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.6017, allocations: 319.7 kB / 1.481 GB, free: 3.621 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.6017, allocations: 5.75 kB / 1.481 GB, free: 3.617 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005219/0.6022, allocations: 207.4 kB / 1.481 GB, free: 3.414 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.6025, allocations: 135.5 kB / 1.481 GB, free: 3.281 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.6025, allocations: 19.94 kB / 1.481 GB, free: 3.262 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.6051, allocations: 1.325 MB / 1.482 GB, free: 1.934 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.6053, allocations: 75.78 kB / 1.482 GB, free: 1.859 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.6054, allocations: 111.5 kB / 1.482 GB, free: 1.75 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.6072, allocations: 0.6387 MB / 1.483 GB, free: 1.109 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6072, allocations: 0 / 1.483 GB, free: 1.109 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6072, allocations: 0 / 1.483 GB, free: 1.109 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.6072, allocations: 0 / 1.483 GB, free: 1.109 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.001524/0.6087, allocations: 0.5336 MB / 1.484 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6087, allocations: 8.031 kB / 1.484 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.438e-05/0.6088, allocations: 4.562 kB / 1.484 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.28e-05/0.6089, allocations: 58.67 kB / 1.484 GB, free: 480 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.6101, allocations: 140.7 kB / 1.484 GB, free: 340 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.6105, allocations: 169.8 kB / 1.484 GB, free: 144 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.6105, allocations: 12.38 kB / 1.484 GB, free: 132 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.6105, allocations: 20 kB / 1.484 GB, free: 112 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/0.6112, allocations: 342.3 kB / 1.484 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.6113, allocations: 0 / 1.484 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.6113, allocations: 12 kB / 1.484 GB, free: 15.74 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/0.6113, allocations: 15.98 kB / 1.484 GB, free: 15.73 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.6119, allocations: 324.1 kB / 1.485 GB, free: 15.41 MB / 1.186 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.001908/0.6139, allocations: 1.085 MB / 1.486 GB, free: 14.24 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.6144, allocations: 170.5 kB / 1.486 GB, free: 14.07 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.6146, allocations: 92.64 kB / 1.486 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003974/0.615, allocations: 71.94 kB / 1.486 GB, free: 13.9 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.615, allocations: 42.5 kB / 1.486 GB, free: 13.85 MB / 1.186 GB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.615, allocations: 0 / 1.486 GB, free: 13.85 MB / 1.186 GB Notification: Performance of matching and sorting (n=21): time 0.0007678/0.6158, allocations: 259.1 kB / 1.486 GB, free: 13.59 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.6158, allocations: 55.41 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.6161, allocations: 215.1 kB / 1.487 GB, free: 13.3 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.6161, allocations: 25.7 kB / 1.487 GB, free: 13.27 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.6162, allocations: 156.2 kB / 1.487 GB, free: 13.11 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.6163, allocations: 71.38 kB / 1.487 GB, free: 13.04 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.6164, allocations: 49.7 kB / 1.487 GB, free: 12.99 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6166, allocations: 330.8 kB / 1.487 GB, free: 12.66 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.6167, allocations: 68.23 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.617, allocations: 172.1 kB / 1.487 GB, free: 12.38 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.6173, allocations: 256.8 kB / 1.488 GB, free: 12.09 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6173, allocations: 4.109 kB / 1.488 GB, free: 12.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005849/0.6179, allocations: 284 kB / 1.488 GB, free: 11.81 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.618, allocations: 4 kB / 1.488 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.618, allocations: 11.92 kB / 1.488 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.618, allocations: 4.375 kB / 1.488 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.6183, allocations: 67.91 kB / 1.488 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.6183, allocations: 4 kB / 1.488 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.6185, allocations: 35.67 kB / 1.488 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.6185, allocations: 12 kB / 1.488 GB, free: 11.67 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.0001629/0.6187, allocations: 142.6 kB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.6188, allocations: 23.89 kB / 1.488 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/0.6194, allocations: 277.1 kB / 1.489 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.6194, allocations: 7.984 kB / 1.489 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6194, allocations: 4 kB / 1.489 GB, free: 11.21 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.6194, allocations: 0 / 1.489 GB, free: 11.21 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.6202, allocations: 0.5551 MB / 1.489 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6203, allocations: 4 kB / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.6204, allocations: 35.92 kB / 1.489 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.6204, allocations: 4 kB / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.6205, allocations: 3.984 kB / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.6205, allocations: 8.062 kB / 1.489 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6205, allocations: 0 / 1.489 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.6211, allocations: 356.8 kB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6212, allocations: 47.77 kB / 1.49 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.6213, allocations: 4 kB / 1.49 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.6215, allocations: 19.98 kB / 1.49 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.6216, allocations: 7.984 kB / 1.49 GB, free: 10.1 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.6216, allocations: 15.98 kB / 1.49 GB, free: 10.09 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001602/0.6217, allocations: 149.5 kB / 1.49 GB, free: 9.941 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6217, allocations: 0 / 1.49 GB, free: 9.941 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005522/0.6223, allocations: 119.8 kB / 1.49 GB, free: 9.824 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.00137/0.6237, allocations: 1.009 MB / 1.491 GB, free: 8.781 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004615/0.6241, allocations: 205.1 kB / 1.491 GB, free: 8.582 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.6241, allocations: 0 / 1.491 GB, free: 8.582 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.6243, allocations: 91.89 kB / 1.491 GB, free: 8.492 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.625, allocations: 102.5 kB / 1.491 GB, free: 8.395 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.6286, allocations: 2.512 MB / 1.494 GB, free: 5.715 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.629, allocations: 0.7367 MB / 1.494 GB, free: 4.953 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.6293, allocations: 58.25 kB / 1.494 GB, free: 4.895 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.6294, allocations: 59.41 kB / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of SimCode: time 1.032e-06/0.6294, allocations: 0 / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.6634, allocations: 8.152 MB / 1.502 GB, free: 12.9 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.48, allocations: 15.2 kB / 1.502 GB, free: 12.89 MB / 1.201 GB " [Timeout remaining time 287] (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: 19.629717677016743]