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.001236/0.001236, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001323/0.001323, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.417/1.417, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.859/2.859, allocations: 0.5003 GB / 0.8026 GB, free: 6.668 MB / 0.6387 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.001988/0.001988, allocations: 67.91 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9814/0.9834, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2694/1.253, allocations: 202.3 MB / 1.538 GB, free: 13.72 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01534/1.268, allocations: 9.525 MB / 1.547 GB, free: 4.172 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/1.27, allocations: 23.81 kB / 1.547 GB, free: 4.148 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/1.272, allocations: 0.6332 MB / 1.548 GB, free: 3.512 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006227/1.278, allocations: 2.08 MB / 1.55 GB, free: 1.426 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/1.282, allocations: 0.7439 MB / 1.55 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004934/1.286, allocations: 2.104 MB / 1.552 GB, free: 14.57 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/1.288, allocations: 0.6424 MB / 1.553 GB, free: 13.92 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/1.294, allocations: 1.565 MB / 1.555 GB, free: 12.35 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/1.296, allocations: 0.7626 MB / 1.555 GB, free: 11.59 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/1.296, allocations: 72 kB / 1.555 GB, free: 11.52 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/1.3, allocations: 2.03 MB / 1.557 GB, free: 9.48 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005738/1.301, allocations: 366.8 kB / 1.558 GB, free: 9.121 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000817/1.302, allocations: 0.4899 MB / 1.558 GB, free: 8.629 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003936/1.306, allocations: 1.849 MB / 1.56 GB, free: 6.773 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.306, allocations: 0 / 1.56 GB, free: 6.773 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.583e-06/1.306, allocations: 0 / 1.56 GB, free: 6.773 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.954e-05/1.306, allocations: 0 / 1.56 GB, free: 6.773 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.003819/1.31, allocations: 1.471 MB / 1.561 GB, free: 5.246 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.31, allocations: 8.031 kB / 1.561 GB, free: 5.238 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.663e-05/1.31, allocations: 18 kB / 1.561 GB, free: 5.223 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/1.31, allocations: 122.5 kB / 1.562 GB, free: 5.094 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006733/1.311, allocations: 163.2 kB / 1.562 GB, free: 4.934 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/1.312, allocations: 0.5765 MB / 1.562 GB, free: 4.316 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/1.312, allocations: 54 kB / 1.562 GB, free: 4.262 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/1.312, allocations: 68 kB / 1.562 GB, free: 4.195 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/1.313, allocations: 0.8664 MB / 1.563 GB, free: 3.309 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/1.313, allocations: 0 / 1.563 GB, free: 3.309 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/1.313, allocations: 31.97 kB / 1.563 GB, free: 3.277 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.237e-05/1.313, allocations: 49.98 kB / 1.563 GB, free: 3.227 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/1.315, allocations: 0.7767 MB / 1.564 GB, free: 2.453 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005862/1.321, allocations: 4.515 MB / 1.569 GB, free: 13.39 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/1.321, allocations: 403.7 kB / 1.569 GB, free: 12.99 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/1.322, allocations: 173.4 kB / 1.569 GB, free: 12.82 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008167/1.323, allocations: 0.7639 MB / 1.57 GB, free: 11.89 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.323, allocations: 38.89 kB / 1.57 GB, free: 11.84 MB / 1.248 GB Notification: Performance of pre-optimization done (n=40): time 2.445e-06/1.323, allocations: 0 / 1.57 GB, free: 11.84 MB / 1.248 GB Notification: Performance of matching and sorting (n=40): time 0.001447/1.324, allocations: 0.611 MB / 1.57 GB, free: 11.23 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/1.324, allocations: 55.41 kB / 1.571 GB, free: 11.16 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.325, allocations: 0.868 MB / 1.571 GB, free: 10.28 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/1.325, allocations: 33.7 kB / 1.571 GB, free: 10.24 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/1.326, allocations: 384.3 kB / 1.572 GB, free: 9.863 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/1.326, allocations: 154.7 kB / 1.572 GB, free: 9.711 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/1.326, allocations: 98.19 kB / 1.572 GB, free: 9.609 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.326, allocations: 329.9 kB / 1.572 GB, free: 9.281 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/1.326, allocations: 185 kB / 1.572 GB, free: 9.098 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/1.327, allocations: 277.6 kB / 1.573 GB, free: 8.805 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/1.328, allocations: 446.6 kB / 1.573 GB, free: 8.34 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/1.328, allocations: 4 kB / 1.573 GB, free: 8.336 MB / 1.248 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001078/1.329, allocations: 0.5823 MB / 1.574 GB, free: 7.746 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.329, allocations: 11.94 kB / 1.574 GB, free: 7.734 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.329, allocations: 3.938 kB / 1.574 GB, free: 7.73 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.329, allocations: 8.219 kB / 1.574 GB, free: 7.723 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/1.329, allocations: 103.8 kB / 1.574 GB, free: 7.621 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.329, allocations: 7.984 kB / 1.574 GB, free: 7.613 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/1.33, allocations: 79.34 kB / 1.574 GB, free: 7.535 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/1.33, allocations: 23.98 kB / 1.574 GB, free: 7.512 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.0003139/1.33, allocations: 237.7 kB / 1.574 GB, free: 7.27 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/1.33, allocations: 87.42 kB / 1.574 GB, free: 7.184 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/1.332, allocations: 0.5516 MB / 1.575 GB, free: 6.617 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.332, allocations: 8.031 kB / 1.575 GB, free: 6.609 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.332, allocations: 0 / 1.575 GB, free: 6.609 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.332, allocations: 3.984 kB / 1.575 GB, free: 6.605 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/1.335, allocations: 2.122 MB / 1.577 GB, free: 4.309 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.335, allocations: 8.062 kB / 1.577 GB, free: 4.301 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/1.336, allocations: 91.84 kB / 1.577 GB, free: 4.211 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/1.336, allocations: 12.73 kB / 1.577 GB, free: 4.199 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/1.336, allocations: 16 kB / 1.577 GB, free: 4.184 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/1.336, allocations: 15.94 kB / 1.577 GB, free: 4.168 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.336, allocations: 7.938 kB / 1.577 GB, free: 4.16 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/1.337, allocations: 0.9827 MB / 1.578 GB, free: 3.082 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/1.337, allocations: 220.4 kB / 1.578 GB, free: 2.848 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.338, allocations: 15.98 kB / 1.578 GB, free: 2.832 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/1.338, allocations: 20 kB / 1.578 GB, free: 2.812 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.338, allocations: 55.77 kB / 1.578 GB, free: 2.758 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/1.338, allocations: 20 kB / 1.578 GB, free: 2.738 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008623/1.339, allocations: 0.6278 MB / 1.579 GB, free: 2.113 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.339, allocations: 0 / 1.579 GB, free: 2.113 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008252/1.34, allocations: 243.6 kB / 1.579 GB, free: 1.875 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.002236/1.342, allocations: 1.642 MB / 1.581 GB, free: 128 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.343, allocations: 453.2 kB / 1.581 GB, free: 15.68 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.343, allocations: 448 / 1.581 GB, free: 15.68 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004189/1.344, allocations: 223.5 kB / 1.581 GB, free: 15.46 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/1.346, allocations: 0.4919 MB / 1.582 GB, free: 14.98 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.356, allocations: 6.614 MB / 1.588 GB, free: 8.07 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/1.357, allocations: 1.004 MB / 1.589 GB, free: 7.035 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008137/1.358, allocations: 187.1 kB / 1.59 GB, free: 6.848 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005025/1.358, allocations: 295.3 kB / 1.59 GB, free: 6.559 MB / 1.264 GB Notification: Performance of SimCode: time 7.21e-07/1.358, allocations: 0 / 1.59 GB, free: 6.559 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06288/1.421, allocations: 24.41 MB / 1.614 GB, free: 14.48 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.922/11.34, allocations: 19.97 kB / 1.614 GB, free: 14.46 MB / 1.295 GB " [Timeout remaining time 289] (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: 17.661983199010137]