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.001292/0.001292, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00156/0.00156, allocations: 221.2 kB / 23.03 MB, free: 4.941 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.219/3.219, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="cs",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.001961/0.001961, allocations: 62.19 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3915, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2187/0.6102, allocations: 175.8 MB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.6234, allocations: 8.68 MB / 1.525 GB, free: 6.832 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.6245, allocations: 23.81 kB / 1.525 GB, free: 6.809 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.6263, allocations: 0.5864 MB / 1.526 GB, free: 6.219 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005624/0.6319, allocations: 2.084 MB / 1.528 GB, free: 4.129 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.6341, allocations: 0.7593 MB / 1.529 GB, free: 3.371 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002905/0.637, allocations: 2.109 MB / 1.531 GB, free: 1.254 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.638, allocations: 0.5886 MB / 1.531 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003489/0.6415, allocations: 1.569 MB / 1.533 GB, free: 15.08 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.6427, allocations: 0.7626 MB / 1.534 GB, free: 14.31 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.6428, allocations: 72 kB / 1.534 GB, free: 14.24 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.6464, allocations: 1.593 MB / 1.535 GB, free: 12.64 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004423/0.6468, allocations: 358.8 kB / 1.536 GB, free: 12.29 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000519/0.6474, allocations: 422.2 kB / 1.536 GB, free: 11.88 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.6504, allocations: 1.806 MB / 1.538 GB, free: 10.07 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6504, allocations: 0 / 1.538 GB, free: 10.07 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6504, allocations: 0 / 1.538 GB, free: 10.07 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.6504, allocations: 4 kB / 1.538 GB, free: 10.06 MB / 1.232 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.003695/0.6541, allocations: 1.38 MB / 1.539 GB, free: 8.645 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.6542, allocations: 16.03 kB / 1.539 GB, free: 8.629 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.179e-05/0.6542, allocations: 22 kB / 1.539 GB, free: 8.609 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.6543, allocations: 122.5 kB / 1.539 GB, free: 8.48 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006448/0.655, allocations: 151.2 kB / 1.539 GB, free: 8.332 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/0.6559, allocations: 0.5266 MB / 1.54 GB, free: 7.781 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.006e-05/0.6559, allocations: 53.98 kB / 1.54 GB, free: 7.727 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.6561, allocations: 68 kB / 1.54 GB, free: 7.66 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.6575, allocations: 0.8626 MB / 1.541 GB, free: 6.777 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.6575, allocations: 0 / 1.541 GB, free: 6.777 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.6576, allocations: 27.98 kB / 1.541 GB, free: 6.75 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.791e-05/0.6576, allocations: 49.98 kB / 1.541 GB, free: 6.699 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.6589, allocations: 0.7806 MB / 1.542 GB, free: 5.922 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/0.6632, allocations: 2.375 MB / 1.544 GB, free: 3.477 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.664, allocations: 399.7 kB / 1.544 GB, free: 3.078 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.6643, allocations: 181.4 kB / 1.545 GB, free: 2.898 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.6647, allocations: 84.27 kB / 1.545 GB, free: 2.816 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.6647, allocations: 42.88 kB / 1.545 GB, free: 2.766 MB / 1.232 GB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/0.6647, allocations: 0 / 1.545 GB, free: 2.766 MB / 1.232 GB Notification: Performance of matching and sorting (n=40): time 0.001315/0.666, allocations: 0.6109 MB / 1.545 GB, free: 2.148 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.6661, allocations: 55.41 kB / 1.545 GB, free: 2.082 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.6672, allocations: 0.8719 MB / 1.546 GB, free: 1.199 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.6672, allocations: 37.7 kB / 1.546 GB, free: 1.156 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.6675, allocations: 388.3 kB / 1.547 GB, free: 0.7734 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.6677, allocations: 146.7 kB / 1.547 GB, free: 0.6289 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.6679, allocations: 94.14 kB / 1.547 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.668, allocations: 326 kB / 1.547 GB, free: 212 kB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.6683, allocations: 188.8 kB / 1.547 GB, free: 24 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.6688, allocations: 375.8 kB / 1.548 GB, free: 15.6 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.6695, allocations: 454.6 kB / 1.548 GB, free: 15.13 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6695, allocations: 4 kB / 1.548 GB, free: 15.12 MB / 1.248 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001031/0.6706, allocations: 0.5859 MB / 1.549 GB, free: 14.53 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6706, allocations: 8 kB / 1.549 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6706, allocations: 3.938 kB / 1.549 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6706, allocations: 11.94 kB / 1.549 GB, free: 14.51 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.6711, allocations: 99.88 kB / 1.549 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.6711, allocations: 4 kB / 1.549 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.6717, allocations: 79.39 kB / 1.549 GB, free: 14.33 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.6718, allocations: 24.22 kB / 1.549 GB, free: 14.3 MB / 1.248 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.0003216/0.6721, allocations: 249.6 kB / 1.549 GB, free: 14.05 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6722, allocations: 91.38 kB / 1.549 GB, free: 13.96 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.6732, allocations: 0.5398 MB / 1.55 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.6732, allocations: 7.938 kB / 1.55 GB, free: 13.4 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.6732, allocations: 7.984 kB / 1.55 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.6732, allocations: 4 kB / 1.55 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.6764, allocations: 1.851 MB / 1.552 GB, free: 11.41 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.6764, allocations: 8 kB / 1.552 GB, free: 11.4 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.6769, allocations: 84.66 kB / 1.552 GB, free: 11.32 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.6769, allocations: 8 kB / 1.552 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.6769, allocations: 27.98 kB / 1.552 GB, free: 11.29 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.6769, allocations: 8 kB / 1.552 GB, free: 11.28 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.6769, allocations: 11.94 kB / 1.552 GB, free: 11.27 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.6783, allocations: 0.9838 MB / 1.553 GB, free: 10.19 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.6786, allocations: 143.3 kB / 1.553 GB, free: 10.05 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.6788, allocations: 16 kB / 1.553 GB, free: 10.03 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.6792, allocations: 19.98 kB / 1.553 GB, free: 10.01 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6793, allocations: 55.75 kB / 1.553 GB, free: 9.957 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.6794, allocations: 20.06 kB / 1.553 GB, free: 9.938 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008142/0.6802, allocations: 0.6278 MB / 1.554 GB, free: 9.312 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6802, allocations: 0 / 1.554 GB, free: 9.312 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007915/0.681, allocations: 243.6 kB / 1.554 GB, free: 9.074 MB / 1.248 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.00203/0.683, allocations: 1.643 MB / 1.555 GB, free: 7.324 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009066/0.6839, allocations: 442.5 kB / 1.556 GB, free: 6.895 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6839, allocations: 0 / 1.556 GB, free: 6.895 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.6843, allocations: 224.1 kB / 1.556 GB, free: 6.676 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.6864, allocations: 490.4 kB / 1.557 GB, free: 6.199 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009302/0.6957, allocations: 6.617 MB / 1.563 GB, free: 15.28 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.6962, allocations: 416.4 kB / 1.563 GB, free: 14.84 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007693/0.697, allocations: 191 kB / 1.564 GB, free: 14.65 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.6974, allocations: 291.3 kB / 1.564 GB, free: 14.37 MB / 1.264 GB Notification: Performance of SimCode: time 8.22e-07/0.6974, allocations: 0 / 1.564 GB, free: 14.37 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/0.7557, allocations: 26.53 MB / 1.59 GB, free: 4.406 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.83, allocations: 14.84 kB / 1.59 GB, free: 4.395 MB / 1.279 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.78334064898081]