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.00188/0.00188, 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.002478/0.002478, allocations: 213.2 kB / 22.24 MB, free: 5.258 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.75 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.216/3.216, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.002093/0.002093, allocations: 63.17 kB / 1.186 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3576, allocations: 181.9 MB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.239/0.5966, allocations: 175.9 MB / 1.535 GB, free: 13.62 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.6105, allocations: 8.85 MB / 1.544 GB, free: 4.742 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.6117, allocations: 23.81 kB / 1.544 GB, free: 4.719 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.6135, allocations: 0.5787 MB / 1.544 GB, free: 4.137 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00638/0.6199, allocations: 2.124 MB / 1.546 GB, free: 2.004 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.6226, allocations: 0.7726 MB / 1.547 GB, free: 1.234 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003471/0.626, allocations: 2.147 MB / 1.549 GB, free: 15.07 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.6271, allocations: 0.6042 MB / 1.55 GB, free: 14.46 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/0.6309, allocations: 1.58 MB / 1.551 GB, free: 12.87 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.6322, allocations: 0.7353 MB / 1.552 GB, free: 12.13 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.6323, allocations: 72 kB / 1.552 GB, free: 12.06 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003586/0.6359, allocations: 1.601 MB / 1.554 GB, free: 10.46 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005202/0.6364, allocations: 366.8 kB / 1.554 GB, free: 10.1 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0005929/0.637, allocations: 446 kB / 1.555 GB, free: 9.66 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.6404, allocations: 1.849 MB / 1.556 GB, free: 7.805 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6404, allocations: 8 kB / 1.556 GB, free: 7.797 MB / 1.248 GB Notification: Performance of FrontEnd: time 5.33e-06/0.6404, allocations: 3.984 kB / 1.556 GB, free: 7.793 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.6404, allocations: 0 / 1.556 GB, free: 7.793 MB / 1.248 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.003644/0.644, allocations: 1.396 MB / 1.558 GB, free: 6.363 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.6441, allocations: 8.031 kB / 1.558 GB, free: 6.355 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.6442, allocations: 122.5 kB / 1.558 GB, free: 6.227 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.6464, allocations: 342.9 kB / 1.558 GB, free: 5.891 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.6477, allocations: 0.5538 MB / 1.559 GB, free: 5.309 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.6477, allocations: 53.94 kB / 1.559 GB, free: 5.254 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.6479, allocations: 68 kB / 1.559 GB, free: 5.188 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.65, allocations: 0.9874 MB / 1.56 GB, free: 4.18 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.65, allocations: 3.938 kB / 1.56 GB, free: 4.176 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.6501, allocations: 31.98 kB / 1.56 GB, free: 4.145 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.438e-05/0.6502, allocations: 49.97 kB / 1.56 GB, free: 4.094 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.6525, allocations: 0.9758 MB / 1.561 GB, free: 3.121 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005038/0.6576, allocations: 2.415 MB / 1.563 GB, free: 0.6406 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.6586, allocations: 419.9 kB / 1.564 GB, free: 228 kB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.659, allocations: 205.3 kB / 1.564 GB, free: 20 kB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.6592, allocations: 36.3 kB / 1.564 GB, free: 15.98 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.6593, allocations: 38.89 kB / 1.564 GB, free: 15.94 MB / 1.264 GB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.6593, allocations: 0 / 1.564 GB, free: 15.94 MB / 1.264 GB Notification: Performance of matching and sorting (n=40): time 0.001719/0.661, allocations: 0.6666 MB / 1.565 GB, free: 15.27 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.661, allocations: 63.34 kB / 1.565 GB, free: 15.19 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.6626, allocations: 0.9773 MB / 1.566 GB, free: 14.2 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.6627, allocations: 37.7 kB / 1.566 GB, free: 14.16 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.663, allocations: 396.2 kB / 1.566 GB, free: 13.77 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.6632, allocations: 142.8 kB / 1.566 GB, free: 13.63 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.6634, allocations: 102.1 kB / 1.566 GB, free: 13.52 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.6636, allocations: 326 kB / 1.567 GB, free: 13.2 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/0.6643, allocations: 272.7 kB / 1.567 GB, free: 12.93 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/0.6652, allocations: 471.7 kB / 1.567 GB, free: 12.42 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.6665, allocations: 0.5337 MB / 1.568 GB, free: 11.86 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6665, allocations: 0 / 1.568 GB, free: 11.86 MB / 1.264 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001994/0.6685, allocations: 0.7508 MB / 1.569 GB, free: 11.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.6685, allocations: 8.219 kB / 1.569 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6685, allocations: 4 kB / 1.569 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.6686, allocations: 11.94 kB / 1.569 GB, free: 11.08 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.6694, allocations: 131.8 kB / 1.569 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.6694, allocations: 4 kB / 1.569 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.6707, allocations: 139.3 kB / 1.569 GB, free: 10.81 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.6707, allocations: 19.98 kB / 1.569 GB, free: 10.79 MB / 1.264 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.0004606/0.6712, allocations: 250.3 kB / 1.569 GB, free: 10.54 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.6714, allocations: 91.38 kB / 1.569 GB, free: 10.45 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.6727, allocations: 0.5819 MB / 1.57 GB, free: 9.855 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6727, allocations: 4 kB / 1.57 GB, free: 9.852 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6727, allocations: 0 / 1.57 GB, free: 9.852 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6727, allocations: 4 kB / 1.57 GB, free: 9.848 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.6768, allocations: 2 MB / 1.572 GB, free: 7.715 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.6768, allocations: 8 kB / 1.572 GB, free: 7.707 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.6773, allocations: 95.88 kB / 1.572 GB, free: 7.613 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.807e-05/0.6773, allocations: 12 kB / 1.572 GB, free: 7.602 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.6774, allocations: 20.5 kB / 1.572 GB, free: 7.582 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-05/0.6774, allocations: 15.92 kB / 1.572 GB, free: 7.566 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/0.6774, allocations: 15.94 kB / 1.572 GB, free: 7.551 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.6794, allocations: 1.083 MB / 1.573 GB, free: 6.367 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.6799, allocations: 171.2 kB / 1.573 GB, free: 6.199 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.68, allocations: 19.98 kB / 1.573 GB, free: 6.18 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000727/0.6807, allocations: 39.95 kB / 1.573 GB, free: 6.141 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.6809, allocations: 59.69 kB / 1.573 GB, free: 6.082 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.6809, allocations: 28.05 kB / 1.573 GB, free: 6.055 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001215/0.6821, allocations: 0.706 MB / 1.574 GB, free: 5.352 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6821, allocations: 0 / 1.574 GB, free: 5.352 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008689/0.683, allocations: 259.7 kB / 1.574 GB, free: 5.098 MB / 1.264 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.002597/0.6856, allocations: 1.737 MB / 1.576 GB, free: 3.25 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.6871, allocations: 0.5481 MB / 1.576 GB, free: 2.707 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6871, allocations: 0 / 1.576 GB, free: 2.707 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.6876, allocations: 252.9 kB / 1.577 GB, free: 2.461 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.69, allocations: 0.4924 MB / 1.577 GB, free: 1.973 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.7026, allocations: 7.18 MB / 1.584 GB, free: 10.45 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.7032, allocations: 420.6 kB / 1.584 GB, free: 10.01 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008865/0.704, allocations: 195.2 kB / 1.585 GB, free: 9.812 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.7046, allocations: 291.3 kB / 1.585 GB, free: 9.527 MB / 1.279 GB Notification: Performance of SimCode: time 9.32e-07/0.7046, allocations: 0 / 1.585 GB, free: 9.527 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7044/1.409, allocations: 28.99 MB / 1.613 GB, free: 248.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.86, allocations: 5.562 kB / 1.613 GB, free: 248.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: 20.584754925221205]