Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009375/0.009375, allocations: 102.7 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002188, allocations: 191.8 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.745/2.745, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.815/3.815, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 75.22 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4761, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 1.802/2.278, allocations: 299.1 MB / 1.38 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04156/2.319, allocations: 15.31 MB / 1.395 GB, free: 4.445 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006299/2.326, allocations: 69.88 kB / 1.395 GB, free: 4.445 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008255/2.334, allocations: 1.739 MB / 1.396 GB, free: 3.945 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.02848/2.363, allocations: 5.914 MB / 1.402 GB, free: 1.738 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0142/2.377, allocations: 2.829 MB / 1.405 GB, free: 15.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01643/2.393, allocations: 7.108 MB / 1.412 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008308/2.402, allocations: 2.701 MB / 1.414 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/2.412, allocations: 2.64 MB / 1.417 GB, free: 8.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00959/2.422, allocations: 2.629 MB / 1.42 GB, free: 7.18 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002162/2.424, allocations: 341.9 kB / 1.42 GB, free: 7.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02314/2.447, allocations: 5.75 MB / 1.425 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003908/2.451, allocations: 1.516 MB / 1.427 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008957/2.46, allocations: 1.923 MB / 1.429 GB, free: 1.766 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02651/2.487, allocations: 6.856 MB / 1.436 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/2.487, allocations: 0 / 1.436 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.176e-06/2.487, allocations: 0 / 1.436 GB, free: 11.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002095/2.487, allocations: 0 / 1.436 GB, free: 11.54 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.0222/2.51, allocations: 4.152 MB / 1.44 GB, free: 7.316 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.683e-05/2.51, allocations: 12.02 kB / 1.44 GB, free: 7.305 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001792/2.511, allocations: 400.5 kB / 1.44 GB, free: 6.906 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/2.523, allocations: 0.8468 MB / 1.441 GB, free: 6.055 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008174/2.531, allocations: 1.861 MB / 1.443 GB, free: 4.137 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/2.531, allocations: 209.5 kB / 1.443 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001572/2.533, allocations: 284 kB / 1.443 GB, free: 3.652 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/2.548, allocations: 3.638 MB / 1.447 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001898/2.548, allocations: 7.938 kB / 1.447 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/2.549, allocations: 112 kB / 1.447 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003449/2.549, allocations: 145.4 kB / 1.447 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/2.561, allocations: 3.73 MB / 1.451 GB, free: 11.91 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03264/2.594, allocations: 13.25 MB / 1.463 GB, free: 13.59 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008583/2.603, allocations: 3.245 MB / 1.467 GB, free: 10.33 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004682/2.607, allocations: 1.779 MB / 1.468 GB, free: 8.543 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002509/2.61, allocations: 1.588 MB / 1.47 GB, free: 6.621 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/2.61, allocations: 68.75 kB / 1.47 GB, free: 6.543 MB / 1.092 GB Notification: Performance of pre-optimization done (n=285): time 1.265e-05/2.61, allocations: 0 / 1.47 GB, free: 6.543 MB / 1.092 GB Notification: Performance of matching and sorting (n=285): time 0.01219/2.622, allocations: 4.039 MB / 1.474 GB, free: 2.457 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/2.622, allocations: 89.64 kB / 1.474 GB, free: 2.355 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/2.626, allocations: 1.428 MB / 1.475 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003396/2.626, allocations: 81.69 kB / 1.476 GB, free: 0.8359 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/2.627, allocations: 1 MB / 1.476 GB, free: 15.82 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/2.629, allocations: 0.9662 MB / 1.477 GB, free: 14.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/2.63, allocations: 416.9 kB / 1.478 GB, free: 14.43 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001485/2.63, allocations: 301.1 kB / 1.478 GB, free: 14.13 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/2.633, allocations: 1.137 MB / 1.479 GB, free: 12.99 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003701/2.637, allocations: 1.386 MB / 1.481 GB, free: 11.55 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007827/2.645, allocations: 2.721 MB / 1.483 GB, free: 8.754 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-05/2.645, allocations: 3.938 kB / 1.483 GB, free: 8.75 MB / 1.107 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.009747/2.655, allocations: 3.061 MB / 1.486 GB, free: 5.645 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/2.655, allocations: 10.34 kB / 1.486 GB, free: 5.637 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/2.655, allocations: 4 kB / 1.486 GB, free: 5.633 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-05/2.655, allocations: 12 kB / 1.486 GB, free: 5.621 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/2.659, allocations: 0.511 MB / 1.487 GB, free: 5.109 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.836e-05/2.659, allocations: 15.98 kB / 1.487 GB, free: 5.094 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003454/2.663, allocations: 194.1 kB / 1.487 GB, free: 4.902 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004367/2.663, allocations: 83.98 kB / 1.487 GB, free: 4.82 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (312): * Single equations (assignments): 312 * 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.002415/2.665, allocations: 0.6885 MB / 1.488 GB, free: 4.121 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/2.667, allocations: 237.2 kB / 1.488 GB, free: 3.887 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009529/2.676, allocations: 3.211 MB / 1.491 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/2.676, allocations: 24 kB / 1.491 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/2.676, allocations: 4 kB / 1.491 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006504/2.683, allocations: 2.649 MB / 1.494 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/2.703, allocations: 6.631 MB / 1.5 GB, free: 7.086 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/2.703, allocations: 12.25 kB / 1.5 GB, free: 7.074 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00451/2.708, allocations: 0.5384 MB / 1.501 GB, free: 6.535 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-05/2.708, allocations: 12 kB / 1.501 GB, free: 6.523 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004071/2.708, allocations: 67.97 kB / 1.501 GB, free: 6.457 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.284e-05/2.708, allocations: 12 kB / 1.501 GB, free: 6.445 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/2.708, allocations: 7.938 kB / 1.501 GB, free: 6.438 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/2.722, allocations: 4.82 MB / 1.505 GB, free: 1.488 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/2.724, allocations: 0.6226 MB / 1.506 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007841/2.725, allocations: 56 kB / 1.506 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/2.728, allocations: 77.25 kB / 1.506 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005764/2.728, allocations: 173.9 kB / 1.506 GB, free: 0.543 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003269/2.729, allocations: 91.91 kB / 1.506 GB, free: 464 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002811/2.732, allocations: 0.9853 MB / 1.507 GB, free: 15.47 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.2e-07/2.732, allocations: 0 / 1.507 GB, free: 15.47 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004597/2.736, allocations: 1.002 MB / 1.508 GB, free: 14.46 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (285): * Single equations (assignments): 285 * 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.01313/2.749, allocations: 5.676 MB / 1.514 GB, free: 8.668 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007186/2.757, allocations: 2.861 MB / 1.517 GB, free: 5.777 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/2.757, allocations: 0 / 1.517 GB, free: 5.777 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00399/2.761, allocations: 1.558 MB / 1.518 GB, free: 4.215 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/2.771, allocations: 1.326 MB / 1.52 GB, free: 2.91 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05582/2.827, allocations: 20.49 MB / 1.54 GB, free: 14.02 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004032/2.831, allocations: 1.994 MB / 1.542 GB, free: 12 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.006063/2.837, allocations: 0.9024 MB / 1.542 GB, free: 11.09 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00334/2.841, allocations: 1.12 MB / 1.544 GB, free: 9.969 MB / 1.17 GB Notification: Performance of SimCode: time 1.252e-06/2.841, allocations: 0 / 1.544 GB, free: 9.969 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1827/3.023, allocations: 71.21 MB / 1.613 GB, free: 3.461 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.83/21.85, allocations: 10.86 kB / 1.613 GB, free: 3.453 MB / 1.232 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches