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.00181/0.00181, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002167/0.002167, allocations: 211.9 kB / 23.03 MB, free: 4.926 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_12_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.0019/0.0019, allocations: 63.56 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3533, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2085/0.5618, allocations: 175.8 MB / 1.498 GB, free: 1.059 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.5733, allocations: 8.691 MB / 1.507 GB, free: 8.344 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009051/0.5743, allocations: 23.81 kB / 1.507 GB, free: 8.32 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.5759, allocations: 0.5748 MB / 1.507 GB, free: 7.742 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005089/0.581, allocations: 2.077 MB / 1.509 GB, free: 5.656 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.5831, allocations: 0.7625 MB / 1.51 GB, free: 4.898 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002728/0.5859, allocations: 2.108 MB / 1.512 GB, free: 2.781 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5869, allocations: 0.5885 MB / 1.513 GB, free: 2.176 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.5899, allocations: 1.573 MB / 1.514 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.5909, allocations: 0.7627 MB / 1.515 GB, free: 15.83 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.5911, allocations: 68 kB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.594, allocations: 1.593 MB / 1.517 GB, free: 14.17 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004222/0.5944, allocations: 362.8 kB / 1.517 GB, free: 13.81 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.5949, allocations: 426.1 kB / 1.517 GB, free: 13.39 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.5975, allocations: 1.799 MB / 1.519 GB, free: 11.59 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5975, allocations: 0 / 1.519 GB, free: 11.59 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5975, allocations: 4 kB / 1.519 GB, free: 11.59 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.5975, allocations: 0 / 1.519 GB, free: 11.59 MB / 1.217 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.003597/0.6011, allocations: 1.384 MB / 1.52 GB, free: 10.17 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.6012, allocations: 8.031 kB / 1.52 GB, free: 10.16 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.841e-05/0.6012, allocations: 22 kB / 1.521 GB, free: 10.14 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.6013, allocations: 118.5 kB / 1.521 GB, free: 10.01 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/0.602, allocations: 163.2 kB / 1.521 GB, free: 9.852 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.6029, allocations: 0.5226 MB / 1.521 GB, free: 9.301 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.6029, allocations: 58 kB / 1.521 GB, free: 9.246 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.6031, allocations: 68 kB / 1.521 GB, free: 9.18 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.6045, allocations: 0.8626 MB / 1.522 GB, free: 8.293 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.6045, allocations: 7.938 kB / 1.522 GB, free: 8.285 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.6045, allocations: 24 kB / 1.522 GB, free: 8.262 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/0.6046, allocations: 45.98 kB / 1.522 GB, free: 8.219 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.6059, allocations: 0.7728 MB / 1.523 GB, free: 7.445 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/0.6101, allocations: 2.367 MB / 1.525 GB, free: 5.016 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.6109, allocations: 411.4 kB / 1.526 GB, free: 4.609 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.6112, allocations: 177.4 kB / 1.526 GB, free: 4.434 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.6116, allocations: 84.27 kB / 1.526 GB, free: 4.352 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.6116, allocations: 46.81 kB / 1.526 GB, free: 4.297 MB / 1.217 GB Notification: Performance of pre-optimization done (n=40): time 7.203e-06/0.6116, allocations: 3.984 kB / 1.526 GB, free: 4.293 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.001278/0.6129, allocations: 0.6109 MB / 1.527 GB, free: 3.676 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.6129, allocations: 55.41 kB / 1.527 GB, free: 3.609 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.614, allocations: 0.8681 MB / 1.528 GB, free: 2.73 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.6141, allocations: 29.7 kB / 1.528 GB, free: 2.695 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.6144, allocations: 396.3 kB / 1.528 GB, free: 2.305 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.6145, allocations: 150.7 kB / 1.528 GB, free: 2.156 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.6147, allocations: 102 kB / 1.528 GB, free: 2.051 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6148, allocations: 326 kB / 1.529 GB, free: 1.727 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.6152, allocations: 184.9 kB / 1.529 GB, free: 1.547 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.6157, allocations: 387.7 kB / 1.529 GB, free: 1.113 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.6164, allocations: 442.6 kB / 1.53 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6164, allocations: 0 / 1.53 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001025/0.6174, allocations: 0.5898 MB / 1.53 GB, free: 56 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6174, allocations: 8.219 kB / 1.53 GB, free: 48 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6174, allocations: 11.88 kB / 1.53 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.6175, allocations: 4 kB / 1.53 GB, free: 32 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.618, allocations: 103.9 kB / 1.53 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.618, allocations: 7.938 kB / 1.53 GB, free: 15.92 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.6185, allocations: 71.39 kB / 1.53 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.6186, allocations: 20 kB / 1.53 GB, free: 15.83 MB / 1.232 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.0003019/0.6189, allocations: 249.6 kB / 1.531 GB, free: 15.58 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.619, allocations: 87.48 kB / 1.531 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.62, allocations: 0.5592 MB / 1.531 GB, free: 14.92 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.62, allocations: 4 kB / 1.531 GB, free: 14.92 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.62, allocations: 0 / 1.531 GB, free: 14.92 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.62, allocations: 0 / 1.531 GB, free: 14.92 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.6232, allocations: 1.855 MB / 1.533 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6233, allocations: 8 kB / 1.533 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.6237, allocations: 91.83 kB / 1.533 GB, free: 12.84 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.6237, allocations: 8 kB / 1.533 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.6237, allocations: 16 kB / 1.533 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.6237, allocations: 16.53 kB / 1.533 GB, free: 12.8 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.6237, allocations: 4 kB / 1.533 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.6251, allocations: 0.9877 MB / 1.534 GB, free: 11.71 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.6254, allocations: 147.2 kB / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.6255, allocations: 12 kB / 1.534 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.626, allocations: 24.05 kB / 1.534 GB, free: 11.53 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.6261, allocations: 51.75 kB / 1.534 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.6262, allocations: 24 kB / 1.534 GB, free: 11.46 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007979/0.627, allocations: 0.6278 MB / 1.535 GB, free: 10.84 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.627, allocations: 0 / 1.535 GB, free: 10.84 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007147/0.6277, allocations: 239.7 kB / 1.535 GB, free: 10.6 MB / 1.232 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.001924/0.6296, allocations: 1.647 MB / 1.537 GB, free: 8.848 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008373/0.6304, allocations: 442.5 kB / 1.537 GB, free: 8.414 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6304, allocations: 0 / 1.537 GB, free: 8.414 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.6308, allocations: 233.1 kB / 1.537 GB, free: 8.188 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.6329, allocations: 497 kB / 1.538 GB, free: 7.703 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008793/0.6417, allocations: 6.608 MB / 1.544 GB, free: 0.793 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.6422, allocations: 420.4 kB / 1.545 GB, free: 364 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006382/0.6428, allocations: 187.1 kB / 1.545 GB, free: 172 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/0.6432, allocations: 291.4 kB / 1.545 GB, free: 15.88 MB / 1.248 GB Notification: Performance of SimCode: time 6.61e-07/0.6432, allocations: 0 / 1.545 GB, free: 15.88 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/0.6998, allocations: 26.55 MB / 1.571 GB, free: 5.977 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.76, allocations: 10.56 kB / 1.571 GB, free: 5.969 MB / 1.264 GB " [Timeout remaining time 286] (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/jenkins1/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: 20.855903415940702]