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.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.177/1.177, allocations: 222.9 MB / 240.2 MB, free: 4.395 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 2.081/2.081, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4647, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.255/0.7197, allocations: 299.1 MB / 1.242 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4412/1.161, allocations: 15.3 MB / 1.257 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/1.163, allocations: 71.22 kB / 1.257 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003533/1.167, allocations: 1.738 MB / 1.258 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/1.178, allocations: 5.912 MB / 1.264 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005561/1.184, allocations: 2.811 MB / 1.267 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007474/1.191, allocations: 7.11 MB / 1.274 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/1.194, allocations: 2.709 MB / 1.277 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/1.198, allocations: 2.611 MB / 1.279 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/1.201, allocations: 2.614 MB / 1.282 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003863/1.201, allocations: 342 kB / 1.282 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008591/1.21, allocations: 5.743 MB / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/1.211, allocations: 1.51 MB / 1.289 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/1.213, allocations: 1.929 MB / 1.291 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00731/1.22, allocations: 6.795 MB / 1.298 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.22, allocations: 0.625 kB / 1.298 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/1.22, allocations: 0 / 1.298 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.46e-05/1.22, allocations: 7.594 kB / 1.298 GB, free: 15.09 MB / 0.9981 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.007734/1.228, allocations: 4.155 MB / 1.302 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/1.228, allocations: 9.125 kB / 1.302 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003838/1.228, allocations: 402.3 kB / 1.302 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/1.233, allocations: 0.8464 MB / 1.303 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/1.235, allocations: 1.797 MB / 1.305 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-05/1.235, allocations: 214.8 kB / 1.305 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/1.236, allocations: 283.2 kB / 1.305 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004458/1.24, allocations: 3.621 MB / 1.309 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.325e-05/1.24, allocations: 9.375 kB / 1.309 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/1.241, allocations: 114.5 kB / 1.309 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/1.241, allocations: 151.8 kB / 1.309 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/1.246, allocations: 3.733 MB / 1.313 GB, free: 12.37 MB / 0.9981 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.01081/1.256, allocations: 13.34 MB / 1.326 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/1.26, allocations: 3.234 MB / 1.329 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/1.262, allocations: 1.778 MB / 1.331 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.263, allocations: 1.586 MB / 1.332 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.263, allocations: 65.56 kB / 1.332 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=285): time 3.817e-06/1.263, allocations: 2.562 kB / 1.332 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285): time 0.005288/1.268, allocations: 4.043 MB / 1.336 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/1.268, allocations: 80.47 kB / 1.336 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/1.27, allocations: 1.434 MB / 1.338 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.27, allocations: 72.7 kB / 1.338 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/1.27, allocations: 1.006 MB / 1.339 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004912/1.271, allocations: 0.9684 MB / 1.34 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005235/1.271, allocations: 416.4 kB / 1.34 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.898e-05/1.271, allocations: 301.6 kB / 1.34 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.273, allocations: 1.137 MB / 1.341 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/1.275, allocations: 1.387 MB / 1.343 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/1.278, allocations: 2.716 MB / 1.345 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/1.278, allocations: 3.281 kB / 1.345 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.003822/1.282, allocations: 3.053 MB / 1.348 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.282, allocations: 7.969 kB / 1.348 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.282, allocations: 2.906 kB / 1.348 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.282, allocations: 17.16 kB / 1.348 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.284, allocations: 0.5106 MB / 1.349 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/1.284, allocations: 16.23 kB / 1.349 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/1.285, allocations: 204.8 kB / 1.349 GB, free: 476 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/1.285, allocations: 87.98 kB / 1.349 GB, free: 468 kB / 0.9981 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.0008362/1.286, allocations: 0.6843 MB / 1.35 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/1.287, allocations: 229.7 kB / 1.35 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/1.291, allocations: 3.217 MB / 1.353 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.291, allocations: 27.31 kB / 1.353 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.291, allocations: 0 / 1.353 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003517/1.295, allocations: 2.649 MB / 1.356 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008788/1.303, allocations: 6.64 MB / 1.362 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.303, allocations: 0 / 1.362 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/1.306, allocations: 0.547 MB / 1.363 GB, free: 6.094 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/1.306, allocations: 12 kB / 1.363 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/1.306, allocations: 67.97 kB / 1.363 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/1.306, allocations: 15.09 kB / 1.363 GB, free: 6.004 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.306, allocations: 3.938 kB / 1.363 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006294/1.312, allocations: 4.815 MB / 1.368 GB, free: 1.066 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/1.313, allocations: 0.6304 MB / 1.368 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/1.313, allocations: 56 kB / 1.368 GB, free: 368 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.315, allocations: 67.95 kB / 1.368 GB, free: 300 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/1.315, allocations: 177.1 kB / 1.369 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.315, allocations: 83.97 kB / 1.369 GB, free: 40 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001148/1.316, allocations: 0.9878 MB / 1.37 GB, free: 15.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/1.316, allocations: 0 / 1.37 GB, free: 15.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001758/1.318, allocations: 1.002 MB / 1.371 GB, free: 14.05 MB / 1.029 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.007102/1.325, allocations: 5.678 MB / 1.376 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.336, allocations: 5.895 MB / 1.382 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.336, allocations: 0 / 1.382 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/1.338, allocations: 1.549 MB / 1.383 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004862/1.343, allocations: 1.332 MB / 1.385 GB, free: 15.64 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.37, allocations: 22.54 MB / 1.407 GB, free: 7.832 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.371, allocations: 1.99 MB / 1.409 GB, free: 5.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002582/1.374, allocations: 0.8946 MB / 1.409 GB, free: 4.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/1.375, allocations: 1.12 MB / 1.411 GB, free: 3.789 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/1.375, allocations: 0 / 1.411 GB, free: 3.789 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09274/1.468, allocations: 69.49 MB / 1.478 GB, free: 15.2 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/9.732, allocations: 8.391 kB / 1.478 GB, free: 15.19 MB / 1.139 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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