Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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.001334/0.001334, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001618/0.001618, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.781 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.098/3.098, allocations: 0.4892 GB / 0.7943 GB, free: 35.75 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.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",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.00266/0.00266, allocations: 64.59 kB / 1.153 GB, free: 25.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3315, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2483/0.5798, allocations: 189.4 MB / 1.51 GB, free: 4.297 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.5949, allocations: 9.489 MB / 1.519 GB, free: 10.79 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.597, allocations: 47.62 kB / 1.519 GB, free: 10.74 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.5997, allocations: 0.8002 MB / 1.52 GB, free: 9.934 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.61, allocations: 3.022 MB / 1.523 GB, free: 6.898 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.6141, allocations: 1.445 MB / 1.524 GB, free: 5.453 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005116/0.6192, allocations: 3.213 MB / 1.528 GB, free: 2.23 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.6205, allocations: 0.765 MB / 1.528 GB, free: 1.445 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.6233, allocations: 1.316 MB / 1.53 GB, free: 128 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/0.626, allocations: 1.08 MB / 1.531 GB, free: 15.05 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002754/0.6263, allocations: 120 kB / 1.531 GB, free: 14.93 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005185/0.6314, allocations: 2.24 MB / 1.533 GB, free: 12.68 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007334/0.6322, allocations: 0.5063 MB / 1.534 GB, free: 12.18 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.6332, allocations: 0.6108 MB / 1.534 GB, free: 11.56 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005498/0.6387, allocations: 2.737 MB / 1.537 GB, free: 8.816 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6387, allocations: 0 / 1.537 GB, free: 8.816 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6387, allocations: 0 / 1.537 GB, free: 8.816 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.916e-05/0.6387, allocations: 4 kB / 1.537 GB, free: 8.812 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.0043/0.643, allocations: 1.76 MB / 1.539 GB, free: 7.012 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6431, allocations: 11.97 kB / 1.539 GB, free: 7 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.6433, allocations: 152 kB / 1.539 GB, free: 6.844 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.6462, allocations: 438.7 kB / 1.539 GB, free: 6.414 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.648, allocations: 0.8188 MB / 1.54 GB, free: 5.562 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.6481, allocations: 66 kB / 1.54 GB, free: 5.5 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.6482, allocations: 99.98 kB / 1.54 GB, free: 5.402 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.6505, allocations: 1.406 MB / 1.541 GB, free: 3.91 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.6505, allocations: 0 / 1.541 GB, free: 3.91 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.6506, allocations: 40 kB / 1.541 GB, free: 3.871 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-05/0.6507, allocations: 53.92 kB / 1.541 GB, free: 3.82 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.6527, allocations: 1.066 MB / 1.543 GB, free: 2.75 MB / 1.232 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.005756/0.6585, allocations: 3.142 MB / 1.546 GB, free: 15.52 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.6601, allocations: 0.7993 MB / 1.546 GB, free: 14.71 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.6612, allocations: 0.5674 MB / 1.547 GB, free: 14.15 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/0.6616, allocations: 76.53 kB / 1.547 GB, free: 14.07 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.6617, allocations: 47.16 kB / 1.547 GB, free: 14.02 MB / 1.248 GB Notification: Performance of pre-optimization done (n=82): time 2.996e-06/0.6617, allocations: 4 kB / 1.547 GB, free: 14.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=83): time 0.004714/0.6664, allocations: 2.242 MB / 1.549 GB, free: 11.74 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.6664, allocations: 64.34 kB / 1.549 GB, free: 11.66 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.6673, allocations: 0.6411 MB / 1.55 GB, free: 11.01 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/0.6674, allocations: 41.7 kB / 1.55 GB, free: 10.96 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.6678, allocations: 460.9 kB / 1.55 GB, free: 10.51 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.6681, allocations: 305.3 kB / 1.551 GB, free: 10.21 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.6683, allocations: 142.6 kB / 1.551 GB, free: 10.06 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.6686, allocations: 394.7 kB / 1.551 GB, free: 9.668 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.6691, allocations: 321.8 kB / 1.552 GB, free: 9.355 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.6698, allocations: 430.5 kB / 1.552 GB, free: 8.906 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.671, allocations: 0.7768 MB / 1.553 GB, free: 8.105 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.671, allocations: 3.938 kB / 1.553 GB, free: 8.102 MB / 1.248 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001765/0.6728, allocations: 0.9468 MB / 1.554 GB, free: 7.145 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.6728, allocations: 8 kB / 1.554 GB, free: 7.137 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6728, allocations: 3.938 kB / 1.554 GB, free: 7.133 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/0.6731, allocations: 65.08 kB / 1.554 GB, free: 7.066 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/0.6738, allocations: 151.8 kB / 1.554 GB, free: 6.918 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005552/0.6744, allocations: 0.6109 MB / 1.554 GB, free: 6.281 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008215/0.6752, allocations: 23.98 kB / 1.554 GB, free: 6.258 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.6753, allocations: 28 kB / 1.554 GB, free: 6.23 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005167/0.6758, allocations: 301.6 kB / 1.555 GB, free: 5.926 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.676, allocations: 95.45 kB / 1.555 GB, free: 5.832 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.6777, allocations: 0.9402 MB / 1.556 GB, free: 4.879 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.6777, allocations: 8 kB / 1.556 GB, free: 4.871 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6777, allocations: 0 / 1.556 GB, free: 4.871 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001348/0.6791, allocations: 0.9232 MB / 1.557 GB, free: 3.902 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.6824, allocations: 1.926 MB / 1.559 GB, free: 1.93 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6824, allocations: 4 kB / 1.559 GB, free: 1.926 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009516/0.6834, allocations: 183.8 kB / 1.559 GB, free: 1.746 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.6834, allocations: 7.938 kB / 1.559 GB, free: 1.738 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.6834, allocations: 19.98 kB / 1.559 GB, free: 1.719 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.6834, allocations: 4 kB / 1.559 GB, free: 1.715 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6834, allocations: 3.938 kB / 1.559 GB, free: 1.711 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.6856, allocations: 1.393 MB / 1.56 GB, free: 308 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.6861, allocations: 175.3 kB / 1.56 GB, free: 132 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.6863, allocations: 20 kB / 1.56 GB, free: 112 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/0.6869, allocations: 23.98 kB / 1.56 GB, free: 88 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6871, allocations: 56.89 kB / 1.56 GB, free: 32 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.6871, allocations: 20 kB / 1.56 GB, free: 12 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006452/0.6878, allocations: 463 kB / 1.561 GB, free: 15.56 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6878, allocations: 0 / 1.561 GB, free: 15.56 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000899/0.6887, allocations: 319.9 kB / 1.561 GB, free: 15.25 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002875/0.6915, allocations: 2.046 MB / 1.563 GB, free: 13.18 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.6935, allocations: 0.7816 MB / 1.564 GB, free: 12.39 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6935, allocations: 0 / 1.564 GB, free: 12.39 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.6945, allocations: 413.6 kB / 1.564 GB, free: 11.99 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.6984, allocations: 0.586 MB / 1.565 GB, free: 11.42 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.7139, allocations: 7.559 MB / 1.572 GB, free: 3.68 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009342/0.7149, allocations: 0.5281 MB / 1.573 GB, free: 3.117 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001636/0.7165, allocations: 255.7 kB / 1.573 GB, free: 2.863 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008899/0.7174, allocations: 391.3 kB / 1.573 GB, free: 2.48 MB / 1.264 GB Notification: Performance of SimCode: time 1.513e-06/0.7174, allocations: 0 / 1.573 GB, free: 2.48 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0776/0.795, allocations: 30.86 MB / 1.604 GB, free: 4.266 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.39, allocations: 15.25 kB / 1.604 GB, free: 4.254 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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: 21.52625537989661]