Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.00522/0.00522, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00124/0.00124, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.496/2.496, allocations: 469.4 MB / 0.7422 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.12 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2498, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.741/0.9909, allocations: 218.5 MB / 1.433 GB, free: 9.801 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02287/1.014, allocations: 20.44 MB / 1.453 GB, free: 7.027 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/1.016, allocations: 59.69 kB / 1.453 GB, free: 6.969 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/1.019, allocations: 1.294 MB / 1.454 GB, free: 5.668 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.009295/1.029, allocations: 4.208 MB / 1.459 GB, free: 1.441 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/1.032, allocations: 1.551 MB / 1.46 GB, free: 15.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.007271/1.04, allocations: 6.967 MB / 1.467 GB, free: 8.902 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002864/1.042, allocations: 2.351 MB / 1.469 GB, free: 6.512 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003796/1.046, allocations: 2.442 MB / 1.472 GB, free: 4.062 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004117/1.05, allocations: 2.456 MB / 1.474 GB, free: 1.613 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006271/1.051, allocations: 340 kB / 1.474 GB, free: 1.281 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006439/1.057, allocations: 3.485 MB / 1.478 GB, free: 13.79 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/1.059, allocations: 1.457 MB / 1.479 GB, free: 12.33 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002447/1.061, allocations: 1.871 MB / 1.481 GB, free: 10.45 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007961/1.069, allocations: 5.782 MB / 1.487 GB, free: 4.652 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.069, allocations: 0 / 1.487 GB, free: 4.652 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/1.069, allocations: 4 kB / 1.487 GB, free: 4.648 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.047e-05/1.069, allocations: 0 / 1.487 GB, free: 4.648 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.008792/1.078, allocations: 4.031 MB / 1.49 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.078, allocations: 8.031 kB / 1.49 GB, free: 0.543 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004528/1.079, allocations: 391.7 kB / 1.491 GB, free: 156 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/1.083, allocations: 0.8449 MB / 1.492 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/1.087, allocations: 1.948 MB / 1.494 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/1.087, allocations: 205.4 kB / 1.494 GB, free: 13.1 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004406/1.088, allocations: 268 kB / 1.494 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004895/1.093, allocations: 3.283 MB / 1.497 GB, free: 9.512 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-05/1.093, allocations: 0 / 1.497 GB, free: 9.512 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/1.093, allocations: 124 kB / 1.497 GB, free: 9.391 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/1.093, allocations: 121.4 kB / 1.497 GB, free: 9.27 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006417/1.099, allocations: 4.619 MB / 1.502 GB, free: 4.637 MB / 1.186 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.01512/1.115, allocations: 10.94 MB / 1.513 GB, free: 9.02 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005534/1.12, allocations: 4.867 MB / 1.517 GB, free: 4.121 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/1.123, allocations: 2.524 MB / 1.52 GB, free: 1.594 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009285/1.124, allocations: 0.8721 MB / 1.521 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/1.124, allocations: 77.7 kB / 1.521 GB, free: 480 kB / 1.201 GB Notification: Performance of pre-optimization done (n=399): time 5.13e-06/1.124, allocations: 0 / 1.521 GB, free: 480 kB / 1.201 GB Notification: Performance of matching and sorting (n=399): time 0.008827/1.133, allocations: 6.04 MB / 1.527 GB, free: 10.34 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/1.133, allocations: 94.55 kB / 1.527 GB, free: 10.23 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.135, allocations: 1.224 MB / 1.528 GB, free: 9.004 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/1.135, allocations: 93.7 kB / 1.528 GB, free: 8.906 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004887/1.136, allocations: 0.8307 MB / 1.529 GB, free: 8.066 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.137, allocations: 1.398 MB / 1.53 GB, free: 6.66 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007686/1.137, allocations: 0.5508 MB / 1.531 GB, free: 6.102 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/1.138, allocations: 301.1 kB / 1.531 GB, free: 5.805 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/1.14, allocations: 1.603 MB / 1.533 GB, free: 4.199 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/1.143, allocations: 1.913 MB / 1.535 GB, free: 2.242 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005373/1.148, allocations: 3.834 MB / 1.538 GB, free: 14.35 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/1.148, allocations: 4 kB / 1.538 GB, free: 14.34 MB / 1.232 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006347/1.154, allocations: 4.208 MB / 1.542 GB, free: 10.11 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.154, allocations: 8 kB / 1.542 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.154, allocations: 4 kB / 1.542 GB, free: 10.1 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/1.154, allocations: 16 kB / 1.542 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/1.157, allocations: 0.6788 MB / 1.543 GB, free: 9.406 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.526e-05/1.157, allocations: 19.94 kB / 1.543 GB, free: 9.387 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/1.16, allocations: 254.2 kB / 1.543 GB, free: 9.137 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/1.16, allocations: 108 kB / 1.543 GB, free: 9.031 MB / 1.232 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 (430): * Single equations (assignments): 430 * 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.001289/1.161, allocations: 0.724 MB / 1.544 GB, free: 8.297 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006174/1.162, allocations: 254.4 kB / 1.544 GB, free: 8.047 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007091/1.169, allocations: 4.635 MB / 1.549 GB, free: 3.367 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/1.169, allocations: 40 kB / 1.549 GB, free: 3.328 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/1.169, allocations: 3.984 kB / 1.549 GB, free: 3.324 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005565/1.175, allocations: 3.965 MB / 1.553 GB, free: 15.3 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/1.188, allocations: 8.278 MB / 1.561 GB, free: 6.934 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.188, allocations: 0 / 1.561 GB, free: 6.934 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002851/1.191, allocations: 0.6554 MB / 1.562 GB, free: 6.277 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/1.191, allocations: 154.3 kB / 1.562 GB, free: 6.117 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003468/1.191, allocations: 83.97 kB / 1.562 GB, free: 6.035 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/1.195, allocations: 5.039 MB / 1.567 GB, free: 0.5781 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.195, allocations: 4 kB / 1.567 GB, free: 0.5742 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.205, allocations: 6.83 MB / 1.573 GB, free: 9.684 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/1.207, allocations: 0.7719 MB / 1.574 GB, free: 8.891 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005579/1.207, allocations: 68 kB / 1.574 GB, free: 8.824 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/1.21, allocations: 86.86 kB / 1.574 GB, free: 8.742 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00045/1.21, allocations: 234.8 kB / 1.574 GB, free: 8.512 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000285/1.21, allocations: 112 kB / 1.575 GB, free: 8.402 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001387/1.212, allocations: 0.8567 MB / 1.575 GB, free: 7.543 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.6e-07/1.212, allocations: 0 / 1.575 GB, free: 7.543 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002541/1.214, allocations: 1.077 MB / 1.576 GB, free: 6.465 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01026/1.225, allocations: 7.637 MB / 1.584 GB, free: 14.76 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00595/1.231, allocations: 4.059 MB / 1.588 GB, free: 10.69 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.231, allocations: 4 kB / 1.588 GB, free: 10.69 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003517/1.234, allocations: 2.551 MB / 1.59 GB, free: 8.098 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005097/1.239, allocations: 1.067 MB / 1.591 GB, free: 7.043 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03417/1.273, allocations: 23.1 MB / 1.614 GB, free: 15.65 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/1.275, allocations: 1.946 MB / 1.616 GB, free: 13.66 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.003416/1.279, allocations: 1.223 MB / 1.617 GB, free: 12.43 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/1.28, allocations: 1.093 MB / 1.618 GB, free: 11.34 MB / 1.311 GB Notification: Performance of SimCode: time 1.072e-06/1.28, allocations: 0 / 1.618 GB, free: 11.34 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0983/1.379, allocations: 66.73 MB / 1.683 GB, free: 9.266 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.84, allocations: 8.438 kB / 1.683 GB, free: 9.258 MB / 1.373 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches