Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.001682/0.001682, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.002516/0.002516, allocations: 217.6 kB / 22.25 MB, free: 5.137 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.039 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.246/3.246, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",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.001978/0.001978, allocations: 63.86 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3527, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.245/0.5977, allocations: 202.8 MB / 1.551 GB, free: 12.94 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.6132, allocations: 9.742 MB / 1.56 GB, free: 3.168 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.6146, allocations: 23.81 kB / 1.56 GB, free: 3.145 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.6168, allocations: 0.6332 MB / 1.561 GB, free: 2.508 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006395/0.6232, allocations: 2.159 MB / 1.563 GB, free: 348 kB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.6258, allocations: 0.7825 MB / 1.564 GB, free: 15.56 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003527/0.6293, allocations: 2.151 MB / 1.566 GB, free: 13.4 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.6308, allocations: 0.6119 MB / 1.567 GB, free: 12.77 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.6349, allocations: 1.6 MB / 1.568 GB, free: 11.17 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.6365, allocations: 0.7743 MB / 1.569 GB, free: 10.39 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.6368, allocations: 72 kB / 1.569 GB, free: 10.32 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/0.6415, allocations: 2.104 MB / 1.571 GB, free: 8.211 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006048/0.6421, allocations: 370.8 kB / 1.571 GB, free: 7.848 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.6431, allocations: 0.5016 MB / 1.572 GB, free: 7.344 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004381/0.6475, allocations: 1.916 MB / 1.574 GB, free: 5.422 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6475, allocations: 4 kB / 1.574 GB, free: 5.418 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6475, allocations: 0 / 1.574 GB, free: 5.418 MB / 1.264 GB Notification: Performance of Transformations before backend: time 4.272e-05/0.6475, allocations: 0 / 1.574 GB, free: 5.418 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.00433/0.6518, allocations: 1.411 MB / 1.575 GB, free: 3.973 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6519, allocations: 8.031 kB / 1.575 GB, free: 3.965 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/0.6521, allocations: 130.5 kB / 1.575 GB, free: 3.828 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.6543, allocations: 342.9 kB / 1.576 GB, free: 3.492 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.6557, allocations: 0.546 MB / 1.576 GB, free: 2.918 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.6558, allocations: 50 kB / 1.576 GB, free: 2.867 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.6559, allocations: 75.98 kB / 1.576 GB, free: 2.793 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.6581, allocations: 0.9874 MB / 1.577 GB, free: 1.785 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.6581, allocations: 4 kB / 1.577 GB, free: 1.781 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.6582, allocations: 24 kB / 1.577 GB, free: 1.758 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.6582, allocations: 45.98 kB / 1.577 GB, free: 1.711 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.6606, allocations: 0.9797 MB / 1.578 GB, free: 0.7305 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006063/0.6667, allocations: 2.988 MB / 1.581 GB, free: 13.58 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.6677, allocations: 423.9 kB / 1.582 GB, free: 13.16 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/0.6681, allocations: 193.4 kB / 1.582 GB, free: 12.97 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.6684, allocations: 48.28 kB / 1.582 GB, free: 12.93 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.6684, allocations: 34.89 kB / 1.582 GB, free: 12.88 MB / 1.279 GB Notification: Performance of pre-optimization done (n=40): time 3.056e-06/0.6684, allocations: 4 kB / 1.582 GB, free: 12.88 MB / 1.279 GB Notification: Performance of matching and sorting (n=40): time 0.001831/0.6702, allocations: 0.6695 MB / 1.582 GB, free: 12.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.6703, allocations: 59.41 kB / 1.583 GB, free: 12.13 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.672, allocations: 0.9696 MB / 1.583 GB, free: 11.16 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/0.6721, allocations: 29.7 kB / 1.584 GB, free: 11.12 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.6724, allocations: 400.2 kB / 1.584 GB, free: 10.73 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.6726, allocations: 146.7 kB / 1.584 GB, free: 10.58 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.6728, allocations: 106.1 kB / 1.584 GB, free: 10.47 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6729, allocations: 322 kB / 1.584 GB, free: 10.15 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/0.6737, allocations: 268.8 kB / 1.585 GB, free: 9.891 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/0.6745, allocations: 364.9 kB / 1.585 GB, free: 9.508 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.6756, allocations: 0.5376 MB / 1.586 GB, free: 8.941 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6756, allocations: 4 kB / 1.586 GB, free: 8.938 MB / 1.279 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00186/0.6775, allocations: 0.7545 MB / 1.586 GB, free: 8.176 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6775, allocations: 4 kB / 1.586 GB, free: 8.172 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6775, allocations: 4 kB / 1.586 GB, free: 8.168 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.6776, allocations: 12.16 kB / 1.586 GB, free: 8.156 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/0.6784, allocations: 127.8 kB / 1.586 GB, free: 8.031 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.6784, allocations: 7.984 kB / 1.586 GB, free: 8.023 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.6796, allocations: 143.2 kB / 1.587 GB, free: 7.883 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.6797, allocations: 23.98 kB / 1.587 GB, free: 7.859 MB / 1.279 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 (57): * Single equations (assignments): 57 * 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 prepare postOptimizeDAE: time 0.0003524/0.68, allocations: 245.6 kB / 1.587 GB, free: 7.609 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6802, allocations: 83.48 kB / 1.587 GB, free: 7.527 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.6814, allocations: 0.5857 MB / 1.588 GB, free: 6.934 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.6814, allocations: 11.98 kB / 1.588 GB, free: 6.922 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6814, allocations: 0 / 1.588 GB, free: 6.922 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6814, allocations: 0 / 1.588 GB, free: 6.922 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/0.6853, allocations: 2.129 MB / 1.59 GB, free: 4.66 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.6853, allocations: 8.844 kB / 1.59 GB, free: 4.652 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.6859, allocations: 103.8 kB / 1.59 GB, free: 4.551 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.6859, allocations: 8 kB / 1.59 GB, free: 4.543 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.6859, allocations: 23.98 kB / 1.59 GB, free: 4.52 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.686, allocations: 8 kB / 1.59 GB, free: 4.512 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.686, allocations: 11.94 kB / 1.59 GB, free: 4.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.6879, allocations: 1.087 MB / 1.591 GB, free: 3.316 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.6884, allocations: 163.2 kB / 1.591 GB, free: 3.156 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.6886, allocations: 20 kB / 1.591 GB, free: 3.137 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.6893, allocations: 43.95 kB / 1.591 GB, free: 3.094 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.6895, allocations: 51.81 kB / 1.591 GB, free: 3.043 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.6895, allocations: 32.05 kB / 1.591 GB, free: 3.012 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001143/0.6907, allocations: 0.7059 MB / 1.592 GB, free: 2.309 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.6907, allocations: 0 / 1.592 GB, free: 2.309 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008434/0.6915, allocations: 267.7 kB / 1.592 GB, free: 2.047 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 1 (lea.mExc) * 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 (49): * Single equations (assignments): 49 * 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.002534/0.694, allocations: 1.73 MB / 1.594 GB, free: 212 kB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.6955, allocations: 0.5451 MB / 1.594 GB, free: 15.66 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.6955, allocations: 0 / 1.594 GB, free: 15.66 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.696, allocations: 252 kB / 1.595 GB, free: 15.42 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.6984, allocations: 0.4957 MB / 1.595 GB, free: 14.93 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.7101, allocations: 7.169 MB / 1.602 GB, free: 7.402 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.7108, allocations: 1.005 MB / 1.603 GB, free: 6.371 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007604/0.7116, allocations: 195.2 kB / 1.603 GB, free: 6.176 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.712, allocations: 295.3 kB / 1.603 GB, free: 5.887 MB / 1.295 GB Notification: Performance of SimCode: time 6.71e-07/0.712, allocations: 4 kB / 1.603 GB, free: 5.883 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7125/1.425, allocations: 26.35 MB / 1.629 GB, free: 254.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/14.24, allocations: 13.12 kB / 1.629 GB, free: 254.1 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.12772108288482]