Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008112/0.0008112, 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.0007819/0.0007819, allocations: 169.9 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.8533/0.8533, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.681/1.681, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Validation.DoorOpenClosed,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.763e-05, allocations: 6.281 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.5657/0.5658, allocations: 175.7 MB / 1.153 GB, free: 10.46 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.009605/0.5754, allocations: 8.677 MB / 1.161 GB, free: 4.637 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.5765, allocations: 24.97 kB / 1.161 GB, free: 4.625 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.5779, allocations: 0.5787 MB / 1.162 GB, free: 4.305 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.5827, allocations: 2.125 MB / 1.164 GB, free: 3.184 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.5847, allocations: 0.8033 MB / 1.164 GB, free: 2.789 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00291/0.5876, allocations: 2.14 MB / 1.167 GB, free: 1.797 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.5887, allocations: 0.5901 MB / 1.167 GB, free: 1.527 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.5921, allocations: 1.838 MB / 1.169 GB, free: 0.7422 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.5934, allocations: 0.6615 MB / 1.17 GB, free: 0.5352 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.5935, allocations: 72.06 kB / 1.17 GB, free: 0.5352 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.5967, allocations: 1.591 MB / 1.171 GB, free: 15.97 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0005185/0.5972, allocations: 380.7 kB / 1.172 GB, free: 15.8 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0007055/0.5979, allocations: 359.6 kB / 1.172 GB, free: 15.68 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.6018, allocations: 1.866 MB / 1.174 GB, free: 15.06 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6018, allocations: 0 / 1.174 GB, free: 15.06 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6018, allocations: 0 / 1.174 GB, free: 15.06 MB / 1.026 GB Notification: Performance of Transformations before backend: time 3.533e-05/0.6018, allocations: 1.375 kB / 1.174 GB, free: 15.06 MB / 1.026 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.003242/0.6051, allocations: 1.385 MB / 1.175 GB, free: 14.22 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.6051, allocations: 8.781 kB / 1.175 GB, free: 14.22 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.6052, allocations: 121.5 kB / 1.175 GB, free: 14.14 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005167/0.6057, allocations: 159 kB / 1.175 GB, free: 14.07 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.6066, allocations: 0.5204 MB / 1.176 GB, free: 13.73 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.6066, allocations: 50.34 kB / 1.176 GB, free: 13.71 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/0.6067, allocations: 75.14 kB / 1.176 GB, free: 13.68 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.6077, allocations: 0.8612 MB / 1.177 GB, free: 13.33 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.6078, allocations: 1.156 kB / 1.177 GB, free: 13.33 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.6078, allocations: 29.66 kB / 1.177 GB, free: 13.3 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/0.6078, allocations: 47.97 kB / 1.177 GB, free: 13.3 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009713/0.6088, allocations: 0.7738 MB / 1.178 GB, free: 13.05 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.6121, allocations: 2.374 MB / 1.18 GB, free: 11.78 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/0.6128, allocations: 407.3 kB / 1.18 GB, free: 11.64 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.613, allocations: 175 kB / 1.18 GB, free: 11.58 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.6133, allocations: 89.66 kB / 1.181 GB, free: 11.57 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.6133, allocations: 36.83 kB / 1.181 GB, free: 11.53 MB / 1.026 GB Notification: Performance of pre-optimization done (n=40): time 3.016e-06/0.6133, allocations: 0 / 1.181 GB, free: 11.53 MB / 1.026 GB Notification: Performance of matching and sorting (n=40): time 0.001103/0.6144, allocations: 0.6082 MB / 1.181 GB, free: 11.3 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.6144, allocations: 55.75 kB / 1.181 GB, free: 11.23 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009206/0.6153, allocations: 0.8817 MB / 1.182 GB, free: 10.87 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.6154, allocations: 31.8 kB / 1.182 GB, free: 10.84 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.6158, allocations: 394.6 kB / 1.183 GB, free: 10.52 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6159, allocations: 151.5 kB / 1.183 GB, free: 10.4 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.6161, allocations: 93.12 kB / 1.183 GB, free: 10.36 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.6161, allocations: 323.8 kB / 1.183 GB, free: 10.04 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.6164, allocations: 184.6 kB / 1.183 GB, free: 9.988 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.6167, allocations: 383 kB / 1.184 GB, free: 9.723 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.6172, allocations: 455.4 kB / 1.184 GB, free: 9.492 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6172, allocations: 0 / 1.184 GB, free: 9.492 MB / 1.026 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008166/0.6181, allocations: 0.5919 MB / 1.185 GB, free: 9.25 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6181, allocations: 7.938 kB / 1.185 GB, free: 9.25 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6181, allocations: 3.156 kB / 1.185 GB, free: 9.25 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6181, allocations: 3.375 kB / 1.185 GB, free: 9.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.6184, allocations: 103.9 kB / 1.185 GB, free: 9.238 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.6184, allocations: 6.672 kB / 1.185 GB, free: 9.238 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.6189, allocations: 75.38 kB / 1.185 GB, free: 9.188 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.6189, allocations: 20.62 kB / 1.185 GB, free: 9.184 MB / 1.026 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.0002997/0.6192, allocations: 250.2 kB / 1.185 GB, free: 9.004 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.827e-05/0.6193, allocations: 82.3 kB / 1.185 GB, free: 8.961 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.62, allocations: 0.5557 MB / 1.186 GB, free: 8.719 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.62, allocations: 4.562 kB / 1.186 GB, free: 8.719 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.62, allocations: 3.125 kB / 1.186 GB, free: 8.719 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.62, allocations: 11.22 kB / 1.186 GB, free: 8.711 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.6224, allocations: 1.847 MB / 1.188 GB, free: 7.734 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.6224, allocations: 12.66 kB / 1.188 GB, free: 7.73 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.6226, allocations: 86.27 kB / 1.188 GB, free: 7.723 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.6226, allocations: 15.2 kB / 1.188 GB, free: 7.719 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.6226, allocations: 18.84 kB / 1.188 GB, free: 7.711 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.6226, allocations: 11.97 kB / 1.188 GB, free: 7.707 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.6226, allocations: 10.5 kB / 1.188 GB, free: 7.703 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009906/0.6236, allocations: 0.9672 MB / 1.189 GB, free: 7.105 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.6239, allocations: 151 kB / 1.189 GB, free: 7.023 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.624, allocations: 13.72 kB / 1.189 GB, free: 7.02 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.6243, allocations: 20.55 kB / 1.189 GB, free: 7.012 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.6243, allocations: 50.86 kB / 1.189 GB, free: 6.996 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.6244, allocations: 20.62 kB / 1.189 GB, free: 6.992 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0006196/0.625, allocations: 0.6279 MB / 1.189 GB, free: 6.738 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.6e-07/0.625, allocations: 0 / 1.189 GB, free: 6.738 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007206/0.6257, allocations: 247.2 kB / 1.19 GB, free: 6.695 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (48): * Single equations (assignments): 48 * 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.00146/0.6272, allocations: 1.633 MB / 1.191 GB, free: 5.508 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0006093/0.6278, allocations: 444.4 kB / 1.192 GB, free: 5.371 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6278, allocations: 3.062 kB / 1.192 GB, free: 5.371 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.628, allocations: 224.6 kB / 1.192 GB, free: 5.297 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.6296, allocations: 0.4904 MB / 1.192 GB, free: 5.156 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.6368, allocations: 6.6 MB / 1.199 GB, free: 1.613 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.6371, allocations: 414.7 kB / 1.199 GB, free: 1.484 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.000615/0.6378, allocations: 187.8 kB / 1.199 GB, free: 1.434 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.6381, allocations: 292.2 kB / 1.2 GB, free: 1.227 MB / 1.026 GB Notification: Performance of SimCode: time 9.12e-07/0.6381, allocations: 0 / 1.2 GB, free: 1.227 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.044/0.6821, allocations: 26.96 MB / 1.226 GB, free: 15.21 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/8.173, allocations: 5.031 kB / 1.226 GB, free: 15.21 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.089977752417326]