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.001204/0.001204, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00136/0.00136, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.797/2.797, allocations: 0.49 GB / 0.7923 GB, free: 1.504 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="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.001881/0.001881, allocations: 63.91 kB / 1.15 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.924, allocations: 176.1 MB / 1.322 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1779/1.102, allocations: 152.4 MB / 1.47 GB, free: 13.17 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004678/1.107, allocations: 3.645 MB / 1.474 GB, free: 9.512 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/1.107, allocations: 0 / 1.474 GB, free: 9.512 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003908/1.107, allocations: 67.64 kB / 1.474 GB, free: 9.445 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003427/1.107, allocations: 139.2 kB / 1.474 GB, free: 9.309 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002623/1.11, allocations: 1.043 MB / 1.475 GB, free: 8.266 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004257/1.111, allocations: 315.7 kB / 1.475 GB, free: 7.957 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/1.111, allocations: 17.55 kB / 1.475 GB, free: 7.938 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/1.111, allocations: 201 kB / 1.476 GB, free: 7.742 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/1.111, allocations: 139.5 kB / 1.476 GB, free: 7.605 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/1.111, allocations: 8 kB / 1.476 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/1.113, allocations: 1.297 MB / 1.477 GB, free: 6.297 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/1.113, allocations: 71.78 kB / 1.477 GB, free: 6.227 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/1.114, allocations: 111.5 kB / 1.477 GB, free: 6.117 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/1.115, allocations: 0.6465 MB / 1.478 GB, free: 5.469 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/1.115, allocations: 0 / 1.478 GB, free: 5.469 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/1.115, allocations: 0 / 1.478 GB, free: 5.469 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.115, allocations: 4 kB / 1.478 GB, free: 5.465 MB / 1.154 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.001207/1.116, allocations: 0.5996 MB / 1.478 GB, free: 4.816 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.116, allocations: 11.98 kB / 1.478 GB, free: 4.805 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.417e-05/1.116, allocations: 12.56 kB / 1.478 GB, free: 4.793 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/1.116, allocations: 58.72 kB / 1.479 GB, free: 4.727 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.117, allocations: 132.7 kB / 1.479 GB, free: 4.598 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/1.118, allocations: 227.6 kB / 1.479 GB, free: 4.336 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/1.118, allocations: 12.38 kB / 1.479 GB, free: 4.324 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/1.118, allocations: 20 kB / 1.479 GB, free: 4.305 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/1.118, allocations: 338.2 kB / 1.479 GB, free: 3.957 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.118, allocations: 0 / 1.479 GB, free: 3.957 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/1.118, allocations: 12 kB / 1.479 GB, free: 3.945 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/1.118, allocations: 16 kB / 1.479 GB, free: 3.93 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/1.119, allocations: 324.1 kB / 1.48 GB, free: 3.613 MB / 1.154 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.001772/1.121, allocations: 1.117 MB / 1.481 GB, free: 2.402 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/1.121, allocations: 174.5 kB / 1.481 GB, free: 2.223 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/1.121, allocations: 80.66 kB / 1.481 GB, free: 2.141 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005745/1.122, allocations: 457.5 kB / 1.481 GB, free: 1.602 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/1.122, allocations: 46.56 kB / 1.481 GB, free: 1.547 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/1.122, allocations: 3.938 kB / 1.481 GB, free: 1.543 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0007089/1.123, allocations: 256 kB / 1.482 GB, free: 1.289 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/1.123, allocations: 63.39 kB / 1.482 GB, free: 1.215 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/1.123, allocations: 199.1 kB / 1.482 GB, free: 1.008 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/1.123, allocations: 33.7 kB / 1.482 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/1.123, allocations: 148.2 kB / 1.482 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/1.123, allocations: 75.31 kB / 1.482 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/1.123, allocations: 57.66 kB / 1.482 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.123, allocations: 330.8 kB / 1.482 GB, free: 360 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/1.123, allocations: 72.22 kB / 1.483 GB, free: 288 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/1.124, allocations: 156.7 kB / 1.483 GB, free: 92 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/1.124, allocations: 249.3 kB / 1.483 GB, free: 15.81 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.124, allocations: 4 kB / 1.483 GB, free: 15.8 MB / 1.17 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005353/1.125, allocations: 285.2 kB / 1.483 GB, free: 15.52 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.125, allocations: 8 kB / 1.483 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.125, allocations: 8.047 kB / 1.483 GB, free: 15.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.125, allocations: 7.938 kB / 1.483 GB, free: 15.5 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/1.125, allocations: 55.91 kB / 1.483 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.125, allocations: 4 kB / 1.483 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/1.125, allocations: 32.11 kB / 1.483 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/1.125, allocations: 20 kB / 1.483 GB, free: 15.39 MB / 1.17 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.0001516/1.125, allocations: 137.8 kB / 1.483 GB, free: 15.24 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/1.125, allocations: 23.89 kB / 1.483 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005307/1.126, allocations: 271.2 kB / 1.484 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.126, allocations: 7.984 kB / 1.484 GB, free: 14.94 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.126, allocations: 0 / 1.484 GB, free: 14.94 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.126, allocations: 0 / 1.484 GB, free: 14.94 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008051/1.127, allocations: 0.5839 MB / 1.484 GB, free: 14.3 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.127, allocations: 7.984 kB / 1.484 GB, free: 14.29 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/1.127, allocations: 31.92 kB / 1.484 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/1.127, allocations: 4 kB / 1.484 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/1.127, allocations: 4 kB / 1.484 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.127, allocations: 4 kB / 1.484 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.127, allocations: 0 / 1.484 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/1.128, allocations: 356.9 kB / 1.485 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/1.128, allocations: 120.8 kB / 1.485 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/1.128, allocations: 7.938 kB / 1.485 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/1.128, allocations: 19.92 kB / 1.485 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/1.128, allocations: 11.98 kB / 1.485 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/1.128, allocations: 16 kB / 1.485 GB, free: 13.69 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001371/1.128, allocations: 156.3 kB / 1.485 GB, free: 13.54 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.128, allocations: 0 / 1.485 GB, free: 13.54 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005099/1.129, allocations: 123.7 kB / 1.485 GB, free: 13.41 MB / 1.17 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.001163/1.13, allocations: 1.001 MB / 1.486 GB, free: 12.38 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003885/1.13, allocations: 203 kB / 1.486 GB, free: 12.18 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.13, allocations: 4.062 kB / 1.486 GB, free: 12.18 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/1.13, allocations: 91.88 kB / 1.486 GB, free: 12.09 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/1.131, allocations: 87.97 kB / 1.486 GB, free: 12 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/1.134, allocations: 2.495 MB / 1.489 GB, free: 9.344 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/1.134, allocations: 0.7406 MB / 1.49 GB, free: 8.578 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002359/1.135, allocations: 58.23 kB / 1.49 GB, free: 8.523 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/1.135, allocations: 55.42 kB / 1.49 GB, free: 8.469 MB / 1.17 GB Notification: Performance of SimCode: time 7.22e-07/1.135, allocations: 3.938 kB / 1.49 GB, free: 8.465 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/1.161, allocations: 7.882 MB / 1.497 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.482/9.643, allocations: 8.875 kB / 1.497 GB, free: 0.7227 MB / 1.17 GB " [Timeout remaining time 290] (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: 15.746305395034142]