Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001674/0.001674, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00212/0.00212, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.22/3.22, allocations: 0.505 GB / 0.8101 GB, free: 22.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_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.002056/0.002056, allocations: 67.09 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3561, allocations: 180.2 MB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2585/0.6146, allocations: 218 MB / 1.566 GB, free: 13.69 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.6314, allocations: 10.43 MB / 1.576 GB, free: 3.23 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.6333, allocations: 59.5 kB / 1.576 GB, free: 3.172 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.636, allocations: 0.8781 MB / 1.577 GB, free: 2.289 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008323/0.6443, allocations: 3.093 MB / 1.58 GB, free: 15.18 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.6485, allocations: 1.465 MB / 1.581 GB, free: 13.72 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005353/0.6538, allocations: 3.261 MB / 1.585 GB, free: 10.45 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.6555, allocations: 0.7805 MB / 1.585 GB, free: 9.648 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.6587, allocations: 1.316 MB / 1.587 GB, free: 8.328 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.6619, allocations: 1.148 MB / 1.588 GB, free: 7.184 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004507/0.6623, allocations: 124 kB / 1.588 GB, free: 7.062 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00683/0.6692, allocations: 3 MB / 1.591 GB, free: 4.055 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.6702, allocations: 0.5063 MB / 1.591 GB, free: 3.547 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002168/0.6724, allocations: 0.7351 MB / 1.592 GB, free: 2.809 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.008829/0.6812, allocations: 2.874 MB / 1.595 GB, free: 15.93 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.6812, allocations: 3.938 kB / 1.595 GB, free: 15.92 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6812, allocations: 0 / 1.595 GB, free: 15.92 MB / 1.295 GB Notification: Performance of Transformations before backend: time 8.522e-05/0.6813, allocations: 0 / 1.595 GB, free: 15.92 MB / 1.295 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.005834/0.6871, allocations: 1.78 MB / 1.596 GB, free: 14.1 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.6872, allocations: 8.031 kB / 1.596 GB, free: 14.09 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003467/0.6875, allocations: 156 kB / 1.597 GB, free: 13.93 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/0.692, allocations: 0.5766 MB / 1.597 GB, free: 13.36 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.694, allocations: 0.8383 MB / 1.598 GB, free: 12.48 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.289e-05/0.6941, allocations: 66 kB / 1.598 GB, free: 12.42 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.6943, allocations: 99.95 kB / 1.598 GB, free: 12.32 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.6969, allocations: 1.268 MB / 1.599 GB, free: 11.02 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.697, allocations: 11.94 kB / 1.599 GB, free: 11.01 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.6971, allocations: 43.97 kB / 1.599 GB, free: 10.96 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-05/0.6972, allocations: 57.92 kB / 1.6 GB, free: 10.91 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.6997, allocations: 1.175 MB / 1.601 GB, free: 9.73 MB / 1.295 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.007204/0.7069, allocations: 4.986 MB / 1.606 GB, free: 4.32 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.7089, allocations: 0.9112 MB / 1.606 GB, free: 3.395 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.7103, allocations: 0.6143 MB / 1.607 GB, free: 2.777 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 8.411e-05/0.7104, allocations: 12.64 kB / 1.607 GB, free: 2.766 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.7104, allocations: 43.22 kB / 1.607 GB, free: 2.715 MB / 1.295 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.7104, allocations: 4 kB / 1.607 GB, free: 2.711 MB / 1.295 GB Notification: Performance of matching and sorting (n=83): time 0.005836/0.7162, allocations: 2.484 MB / 1.61 GB, free: 196 kB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.7163, allocations: 60.41 kB / 1.61 GB, free: 124 kB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6678/1.384, allocations: 0.6409 MB / 1.61 GB, free: 257.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/1.384, allocations: 42.23 kB / 1.61 GB, free: 257.8 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/1.385, allocations: 468.7 kB / 1.611 GB, free: 257.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/1.385, allocations: 307.5 kB / 1.611 GB, free: 257.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/1.385, allocations: 139.5 kB / 1.611 GB, free: 257.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.564e-05/1.385, allocations: 337.1 kB / 1.611 GB, free: 257.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008715/1.386, allocations: 376.3 kB / 1.612 GB, free: 257.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009522/1.387, allocations: 479.6 kB / 1.612 GB, free: 257.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/1.389, allocations: 0.8766 MB / 1.613 GB, free: 257 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.389, allocations: 2.969 kB / 1.613 GB, free: 257 MB / 1.295 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.005997/1.395, allocations: 1.396 MB / 1.614 GB, free: 256.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.395, allocations: 6.062 kB / 1.614 GB, free: 256.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.395, allocations: 6.969 kB / 1.614 GB, free: 256.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008865/1.396, allocations: 303 kB / 1.615 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/1.397, allocations: 156.4 kB / 1.615 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008651/1.405, allocations: 2.952 MB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.406, allocations: 36.75 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/1.406, allocations: 24.91 kB / 1.618 GB, free: 254.5 MB / 1.295 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.0005685/1.407, allocations: 320.2 kB / 1.618 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/1.407, allocations: 97.95 kB / 1.618 GB, free: 254.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/1.407, allocations: 116.2 kB / 1.618 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/1.407, allocations: 8.719 kB / 1.618 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.407, allocations: 0.75 kB / 1.618 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001958/1.409, allocations: 1.025 MB / 1.619 GB, free: 253.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/1.413, allocations: 2.263 MB / 1.622 GB, free: 252.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.413, allocations: 0.5625 kB / 1.622 GB, free: 252.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.414, allocations: 206.2 kB / 1.622 GB, free: 252.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/1.414, allocations: 4.906 kB / 1.622 GB, free: 252.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/1.414, allocations: 24.03 kB / 1.622 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/1.414, allocations: 4.984 kB / 1.622 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.414, allocations: 0 / 1.622 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/1.417, allocations: 1.565 MB / 1.623 GB, free: 251.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/1.418, allocations: 189.2 kB / 1.624 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/1.418, allocations: 20.95 kB / 1.624 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/1.419, allocations: 39.64 kB / 1.624 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/1.419, allocations: 54.53 kB / 1.624 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/1.419, allocations: 30.16 kB / 1.624 GB, free: 251.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006961/1.42, allocations: 459.4 kB / 1.624 GB, free: 251.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/1.42, allocations: 0.625 kB / 1.624 GB, free: 251.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001335/1.421, allocations: 334.7 kB / 1.624 GB, free: 251.5 MB / 1.295 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.003505/1.424, allocations: 2.193 MB / 1.627 GB, free: 250.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.426, allocations: 1.007 MB / 1.628 GB, free: 249.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.426, allocations: 0 / 1.628 GB, free: 249.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/1.427, allocations: 470.7 kB / 1.628 GB, free: 249.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/1.43, allocations: 0.6029 MB / 1.629 GB, free: 249.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/1.451, allocations: 8.671 MB / 1.637 GB, free: 245.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/1.452, allocations: 1.124 MB / 1.638 GB, free: 244.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001185/1.453, allocations: 251.6 kB / 1.638 GB, free: 244.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/1.453, allocations: 392.2 kB / 1.639 GB, free: 244.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.263e-06/1.453, allocations: 0 / 1.639 GB, free: 244.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06761/1.521, allocations: 33.59 MB / 1.672 GB, free: 222.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.83, allocations: 2.062 kB / 1.672 GB, free: 222.9 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.813602939946577]