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.0009085/0.0009085, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008744/0.0008744, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.841/0.841, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.711/1.711, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.695e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.5438/0.5438, allocations: 175.7 MB / 1.171 GB, free: 4.973 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008156/0.552, allocations: 8.808 MB / 1.18 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.5525, allocations: 19.88 kB / 1.18 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.5536, allocations: 0.5798 MB / 1.18 GB, free: 14.74 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.5572, allocations: 2.169 MB / 1.183 GB, free: 13.59 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.5587, allocations: 0.8141 MB / 1.183 GB, free: 13.19 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.5605, allocations: 2.098 MB / 1.185 GB, free: 12.22 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006914/0.5612, allocations: 0.5522 MB / 1.186 GB, free: 11.96 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.5635, allocations: 1.825 MB / 1.188 GB, free: 11.18 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006693/0.5642, allocations: 0.667 MB / 1.188 GB, free: 10.98 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.221e-05/0.5643, allocations: 74.75 kB / 1.188 GB, free: 10.98 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.5663, allocations: 1.625 MB / 1.19 GB, free: 10.4 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.5666, allocations: 385.5 kB / 1.19 GB, free: 10.23 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.5669, allocations: 370.4 kB / 1.191 GB, free: 10.1 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.5688, allocations: 1.924 MB / 1.193 GB, free: 9.465 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5688, allocations: 2.625 kB / 1.193 GB, free: 9.465 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5688, allocations: 0 / 1.193 GB, free: 9.465 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.5688, allocations: 5.062 kB / 1.193 GB, free: 9.461 MB / 1.042 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.002149/0.5709, allocations: 1.387 MB / 1.194 GB, free: 8.613 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.571, allocations: 10.31 kB / 1.194 GB, free: 8.613 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.5711, allocations: 118.8 kB / 1.194 GB, free: 8.531 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5721, allocations: 340.6 kB / 1.194 GB, free: 8.465 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.5728, allocations: 0.5439 MB / 1.195 GB, free: 8.109 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/0.5728, allocations: 54.39 kB / 1.195 GB, free: 8.086 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.5729, allocations: 70 kB / 1.195 GB, free: 8.062 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.5741, allocations: 0.9845 MB / 1.196 GB, free: 7.684 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5741, allocations: 5.344 kB / 1.196 GB, free: 7.68 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.5741, allocations: 26.25 kB / 1.196 GB, free: 7.66 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/0.5742, allocations: 49.38 kB / 1.196 GB, free: 7.652 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.5755, allocations: 0.9823 MB / 1.197 GB, free: 7.344 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.5782, allocations: 2.416 MB / 1.199 GB, free: 6.012 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.5788, allocations: 425.9 kB / 1.2 GB, free: 5.855 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.579, allocations: 194 kB / 1.2 GB, free: 5.762 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.5792, allocations: 46.8 kB / 1.2 GB, free: 5.742 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.5792, allocations: 37.55 kB / 1.2 GB, free: 5.699 MB / 1.042 GB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.5792, allocations: 0 / 1.2 GB, free: 5.699 MB / 1.042 GB Notification: Performance of matching and sorting (n=40): time 0.0009933/0.5802, allocations: 0.676 MB / 1.201 GB, free: 5.359 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.5802, allocations: 55.34 kB / 1.201 GB, free: 5.297 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009033/0.5811, allocations: 0.9745 MB / 1.202 GB, free: 4.762 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.5811, allocations: 31.83 kB / 1.202 GB, free: 4.727 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.5813, allocations: 391 kB / 1.202 GB, free: 4.383 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 7.901e-05/0.5814, allocations: 147.2 kB / 1.202 GB, free: 4.254 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.5816, allocations: 107.4 kB / 1.202 GB, free: 4.184 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.5816, allocations: 327.4 kB / 1.203 GB, free: 3.863 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.582, allocations: 267.7 kB / 1.203 GB, free: 3.738 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.5825, allocations: 473 kB / 1.203 GB, free: 3.387 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.5832, allocations: 0.5366 MB / 1.204 GB, free: 3.07 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5832, allocations: 1.594 kB / 1.204 GB, free: 3.07 MB / 1.042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001034/0.5843, allocations: 0.7502 MB / 1.205 GB, free: 2.688 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5843, allocations: 6.438 kB / 1.205 GB, free: 2.688 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5843, allocations: 2.406 kB / 1.205 GB, free: 2.688 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5843, allocations: 4.188 kB / 1.205 GB, free: 2.688 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.5847, allocations: 136.1 kB / 1.205 GB, free: 2.645 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.5847, allocations: 7.109 kB / 1.205 GB, free: 2.645 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.5852, allocations: 143.9 kB / 1.205 GB, free: 2.559 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.5853, allocations: 26.08 kB / 1.205 GB, free: 2.547 MB / 1.042 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.0002027/0.5855, allocations: 238.9 kB / 1.205 GB, free: 2.359 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.5855, allocations: 82.2 kB / 1.205 GB, free: 2.316 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006879/0.5862, allocations: 0.5968 MB / 1.206 GB, free: 1.973 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5862, allocations: 9 kB / 1.206 GB, free: 1.969 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5862, allocations: 0 / 1.206 GB, free: 1.969 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5862, allocations: 10.53 kB / 1.206 GB, free: 1.961 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.5884, allocations: 1.99 MB / 1.208 GB, free: 0.6094 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5884, allocations: 5.562 kB / 1.208 GB, free: 0.6094 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.5886, allocations: 102.3 kB / 1.208 GB, free: 0.582 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.5886, allocations: 11.84 kB / 1.208 GB, free: 0.5781 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.5886, allocations: 15.38 kB / 1.208 GB, free: 0.5742 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.5886, allocations: 16.08 kB / 1.208 GB, free: 0.5664 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5886, allocations: 12.22 kB / 1.208 GB, free: 0.5625 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.5896, allocations: 1.082 MB / 1.209 GB, free: 15.79 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.5899, allocations: 163.9 kB / 1.209 GB, free: 15.68 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.59, allocations: 24.3 kB / 1.209 GB, free: 15.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.5903, allocations: 48.14 kB / 1.209 GB, free: 15.64 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.5904, allocations: 47.62 kB / 1.209 GB, free: 15.61 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.5904, allocations: 22.81 kB / 1.209 GB, free: 15.61 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0006043/0.591, allocations: 0.7071 MB / 1.21 GB, free: 15.22 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.591, allocations: 0 / 1.21 GB, free: 15.22 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0004691/0.5915, allocations: 262.2 kB / 1.21 GB, free: 15.18 MB / 1.057 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.001315/0.5928, allocations: 1.715 MB / 1.212 GB, free: 13.84 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0007377/0.5935, allocations: 0.5488 MB / 1.212 GB, free: 13.59 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5935, allocations: 0 / 1.212 GB, free: 13.59 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.5938, allocations: 252.6 kB / 1.213 GB, free: 13.47 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.595, allocations: 496 kB / 1.213 GB, free: 13.22 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.6016, allocations: 7.148 MB / 1.22 GB, free: 8.664 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.6018, allocations: 417.4 kB / 1.221 GB, free: 8.422 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0004156/0.6023, allocations: 183.5 kB / 1.221 GB, free: 8.34 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.6026, allocations: 302.4 kB / 1.221 GB, free: 8.094 MB / 1.057 GB Notification: Performance of SimCode: time 6.41e-07/0.6026, allocations: 3.938 kB / 1.221 GB, free: 8.09 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.6378, allocations: 28.69 MB / 1.249 GB, free: 12.45 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/8.263, allocations: 11.86 kB / 1.249 GB, free: 12.44 MB / 1.089 GB " [Timeout remaining time 292] (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/jenkins/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: 12.165106785483658]