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.0008031/0.0008031, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008171/0.0008171, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8733/0.8733, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.648/1.648, allocations: 377.9 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.531e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.5829/0.583, allocations: 131.1 MB / 1.109 GB, free: 24.26 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.5852, allocations: 3.291 MB / 1.112 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.5853, allocations: 1.375 kB / 1.112 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.5856, allocations: 61.38 kB / 1.112 GB, free: 22.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.5859, allocations: 145.9 kB / 1.112 GB, free: 22 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.5874, allocations: 1.088 MB / 1.113 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.5877, allocations: 332.8 kB / 1.114 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.5877, allocations: 11.86 kB / 1.114 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.5881, allocations: 252.7 kB / 1.114 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.5882, allocations: 116.9 kB / 1.114 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.5882, allocations: 18.53 kB / 1.114 GB, free: 21.17 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.5894, allocations: 1.066 MB / 1.115 GB, free: 20.75 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.5895, allocations: 73.66 kB / 1.115 GB, free: 20.72 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.5896, allocations: 85.73 kB / 1.115 GB, free: 20.7 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.5903, allocations: 0.6679 MB / 1.116 GB, free: 20.48 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.5903, allocations: 3.938 kB / 1.116 GB, free: 20.48 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5903, allocations: 0 / 1.116 GB, free: 20.48 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5903, allocations: 1.25 kB / 1.116 GB, free: 20.48 MB / 0.9948 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.0007929/0.5911, allocations: 0.5204 MB / 1.117 GB, free: 20.08 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5911, allocations: 10.23 kB / 1.117 GB, free: 20.08 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.5912, allocations: 63.86 kB / 1.117 GB, free: 20.03 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005941/0.5918, allocations: 139 kB / 1.117 GB, free: 20 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.5919, allocations: 166.9 kB / 1.117 GB, free: 19.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5919, allocations: 17.86 kB / 1.117 GB, free: 19.83 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.592, allocations: 15.97 kB / 1.117 GB, free: 19.83 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.5924, allocations: 0.5865 MB / 1.117 GB, free: 19.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5924, allocations: 1.062 kB / 1.117 GB, free: 19.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.5924, allocations: 7.688 kB / 1.117 GB, free: 19.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.5924, allocations: 22.95 kB / 1.118 GB, free: 19.35 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.5928, allocations: 317.5 kB / 1.118 GB, free: 19.27 MB / 0.9948 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.0008959/0.5937, allocations: 0.942 MB / 1.119 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.594, allocations: 176.5 kB / 1.119 GB, free: 18.52 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.5941, allocations: 76.97 kB / 1.119 GB, free: 18.49 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.5943, allocations: 77.45 kB / 1.119 GB, free: 18.48 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.5943, allocations: 40.03 kB / 1.119 GB, free: 18.44 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.5943, allocations: 0 / 1.119 GB, free: 18.44 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21): time 0.0004328/0.5947, allocations: 269.4 kB / 1.119 GB, free: 18.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.5947, allocations: 61.09 kB / 1.119 GB, free: 18.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.5949, allocations: 211.2 kB / 1.12 GB, free: 18.14 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.5949, allocations: 31.98 kB / 1.12 GB, free: 18.1 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.5949, allocations: 147.2 kB / 1.12 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.5949, allocations: 77.89 kB / 1.12 GB, free: 17.91 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.595, allocations: 51.45 kB / 1.12 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.226e-05/0.595, allocations: 328.8 kB / 1.12 GB, free: 17.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.5951, allocations: 69.42 kB / 1.12 GB, free: 17.54 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.5952, allocations: 161 kB / 1.12 GB, free: 17.42 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.5954, allocations: 251.1 kB / 1.121 GB, free: 17.26 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5954, allocations: 5.125 kB / 1.121 GB, free: 17.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003116/0.5957, allocations: 288.9 kB / 1.121 GB, free: 17.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5958, allocations: 6.922 kB / 1.121 GB, free: 17.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5958, allocations: 3.25 kB / 1.121 GB, free: 17.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5958, allocations: 4.219 kB / 1.121 GB, free: 17.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5959, allocations: 53.22 kB / 1.121 GB, free: 17.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.5959, allocations: 8.203 kB / 1.121 GB, free: 17.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.369e-05/0.596, allocations: 37.8 kB / 1.121 GB, free: 17.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.596, allocations: 14.81 kB / 1.121 GB, free: 17.11 MB / 0.9948 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 6.648e-05/0.5961, allocations: 136.6 kB / 1.121 GB, free: 16.98 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.5962, allocations: 23.86 kB / 1.121 GB, free: 16.97 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.5964, allocations: 278.6 kB / 1.122 GB, free: 16.86 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.5965, allocations: 2.891 kB / 1.122 GB, free: 16.86 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5965, allocations: 1.156 kB / 1.122 GB, free: 16.86 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.5965, allocations: 7.688 kB / 1.122 GB, free: 16.86 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.5969, allocations: 0.5476 MB / 1.122 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5969, allocations: 1.219 kB / 1.122 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.597, allocations: 24.92 kB / 1.122 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.597, allocations: 7.531 kB / 1.122 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.597, allocations: 5.094 kB / 1.122 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.597, allocations: 3.047 kB / 1.122 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.597, allocations: 5.375 kB / 1.122 GB, free: 16.47 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.5973, allocations: 353.2 kB / 1.122 GB, free: 16.26 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.5973, allocations: 45.56 kB / 1.122 GB, free: 16.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.5973, allocations: 10.09 kB / 1.122 GB, free: 16.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.5975, allocations: 15.14 kB / 1.122 GB, free: 16.23 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.5975, allocations: 10.73 kB / 1.123 GB, free: 16.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.5975, allocations: 16.06 kB / 1.123 GB, free: 16.23 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.324e-05/0.5976, allocations: 151.3 kB / 1.123 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5976, allocations: 0 / 1.123 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003062/0.5979, allocations: 128.2 kB / 1.123 GB, free: 16.11 MB / 0.9948 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.0006131/0.5985, allocations: 1.005 MB / 1.124 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.5987, allocations: 198.3 kB / 1.124 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5988, allocations: 0.75 kB / 1.124 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.5988, allocations: 104.8 kB / 1.124 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.5992, allocations: 99.02 kB / 1.124 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.6009, allocations: 2.481 MB / 1.127 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.416e-05/0.601, allocations: 125.3 kB / 1.127 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.6011, allocations: 53.17 kB / 1.127 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.6012, allocations: 64.94 kB / 1.127 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of SimCode: time 3.6e-07/0.6012, allocations: 0 / 1.127 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.6204, allocations: 8.913 MB / 1.136 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/7.297, allocations: 12.86 kB / 1.136 GB, free: 11.79 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.193294639699161]