Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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.007865/0.007865, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.002047/0.002047, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.149/2.149, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6797, allocations: 140.3 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.2757/0.9554, allocations: 284.3 MB / 1.365 GB, free: 1.109 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02341/0.9788, allocations: 17.32 MB / 1.382 GB, free: 15.75 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.9816, allocations: 67.69 kB / 1.382 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004264/0.9858, allocations: 1.787 MB / 1.384 GB, free: 13.89 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.9994, allocations: 6.075 MB / 1.39 GB, free: 7.789 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006945/1.006, allocations: 2.845 MB / 1.392 GB, free: 4.945 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008072/1.014, allocations: 6.586 MB / 1.399 GB, free: 14.34 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00358/1.018, allocations: 2.559 MB / 1.401 GB, free: 11.73 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004516/1.023, allocations: 2.527 MB / 1.404 GB, free: 9.191 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004283/1.027, allocations: 2.406 MB / 1.406 GB, free: 6.785 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000753/1.028, allocations: 300 kB / 1.407 GB, free: 6.492 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/1.039, allocations: 5.966 MB / 1.412 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001945/1.041, allocations: 1.305 MB / 1.414 GB, free: 15.2 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002839/1.044, allocations: 1.704 MB / 1.415 GB, free: 13.49 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01206/1.056, allocations: 6.448 MB / 1.422 GB, free: 7.023 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/1.056, allocations: 4 kB / 1.422 GB, free: 7.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.512e-06/1.056, allocations: 0 / 1.422 GB, free: 7.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.427e-05/1.056, allocations: 3.938 kB / 1.422 GB, free: 7.016 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.009646/1.066, allocations: 3.851 MB / 1.425 GB, free: 3.094 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.066, allocations: 12.03 kB / 1.425 GB, free: 3.082 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004169/1.066, allocations: 350 kB / 1.426 GB, free: 2.73 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005527/1.072, allocations: 0.8216 MB / 1.426 GB, free: 1.906 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/1.075, allocations: 1.712 MB / 1.428 GB, free: 140 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/1.075, allocations: 188.8 kB / 1.428 GB, free: 15.95 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003612/1.075, allocations: 247.9 kB / 1.429 GB, free: 15.71 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004843/1.08, allocations: 3.101 MB / 1.432 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/1.08, allocations: 4 kB / 1.432 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/1.08, allocations: 99.98 kB / 1.432 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/1.081, allocations: 132.7 kB / 1.432 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/1.085, allocations: 2.841 MB / 1.435 GB, free: 9.41 MB / 1.17 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.01291/1.098, allocations: 12.12 MB / 1.446 GB, free: 12.24 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/1.101, allocations: 2.286 MB / 1.449 GB, free: 9.883 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/1.103, allocations: 1.249 MB / 1.45 GB, free: 8.629 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.104, allocations: 1.367 MB / 1.451 GB, free: 6.969 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/1.104, allocations: 56.56 kB / 1.451 GB, free: 6.902 MB / 1.186 GB Notification: Performance of pre-optimization done (n=197): time 3.798e-06/1.104, allocations: 4 kB / 1.451 GB, free: 6.898 MB / 1.186 GB Notification: Performance of matching and sorting (n=197): time 0.004782/1.109, allocations: 2.837 MB / 1.454 GB, free: 4.059 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.109, allocations: 77.34 kB / 1.454 GB, free: 3.973 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/1.111, allocations: 1.316 MB / 1.455 GB, free: 2.648 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/1.111, allocations: 65.7 kB / 1.455 GB, free: 2.578 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/1.111, allocations: 0.9653 MB / 1.456 GB, free: 1.602 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005995/1.112, allocations: 0.7164 MB / 1.457 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004555/1.112, allocations: 295.6 kB / 1.457 GB, free: 0.582 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/1.113, allocations: 305.1 kB / 1.458 GB, free: 288 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/1.114, allocations: 0.7769 MB / 1.458 GB, free: 15.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/1.115, allocations: 0.9725 MB / 1.459 GB, free: 14.5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/1.118, allocations: 1.877 MB / 1.461 GB, free: 12.59 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.118, allocations: 0 / 1.461 GB, free: 12.59 MB / 1.201 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003469/1.121, allocations: 2.167 MB / 1.463 GB, free: 10.41 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.121, allocations: 11.94 kB / 1.463 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.121, allocations: 0 / 1.463 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/1.121, allocations: 12.34 kB / 1.463 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/1.123, allocations: 375.5 kB / 1.464 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-05/1.123, allocations: 15.94 kB / 1.464 GB, free: 10 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/1.125, allocations: 146.9 kB / 1.464 GB, free: 9.859 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.125, allocations: 59.98 kB / 1.464 GB, free: 9.801 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (219): * Single equations (assignments): 219 * 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.00106/1.126, allocations: 0.591 MB / 1.465 GB, free: 9.199 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/1.126, allocations: 210.7 kB / 1.465 GB, free: 8.992 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/1.13, allocations: 2.263 MB / 1.467 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.13, allocations: 23.94 kB / 1.467 GB, free: 6.691 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.13, allocations: 4 kB / 1.467 GB, free: 6.688 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002657/1.133, allocations: 1.866 MB / 1.469 GB, free: 4.809 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007545/1.14, allocations: 5.1 MB / 1.474 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/1.14, allocations: 4 kB / 1.474 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/1.142, allocations: 415.5 kB / 1.474 GB, free: 15.18 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/1.142, allocations: 15.94 kB / 1.474 GB, free: 15.16 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/1.142, allocations: 47.98 kB / 1.474 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/1.142, allocations: 20.03 kB / 1.474 GB, free: 15.1 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.142, allocations: 3.938 kB / 1.474 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/1.147, allocations: 3.426 MB / 1.478 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.148, allocations: 0.5071 MB / 1.478 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/1.148, allocations: 40 kB / 1.478 GB, free: 11.05 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.15, allocations: 53.05 kB / 1.478 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/1.15, allocations: 129.8 kB / 1.478 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/1.15, allocations: 63.98 kB / 1.478 GB, free: 10.81 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001112/1.151, allocations: 0.9083 MB / 1.479 GB, free: 9.906 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.151, allocations: 0 / 1.479 GB, free: 9.906 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001766/1.153, allocations: 0.846 MB / 1.48 GB, free: 9.059 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,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 (201): * Single equations (assignments): 201 * 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.005443/1.158, allocations: 4.251 MB / 1.484 GB, free: 4.754 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002934/1.161, allocations: 1.981 MB / 1.486 GB, free: 2.77 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.161, allocations: 4 kB / 1.486 GB, free: 2.766 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/1.163, allocations: 1.082 MB / 1.487 GB, free: 1.688 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004984/1.168, allocations: 1.244 MB / 1.488 GB, free: 480 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/1.19, allocations: 16.55 MB / 1.505 GB, free: 15.56 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.191, allocations: 1.828 MB / 1.506 GB, free: 13.7 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002583/1.194, allocations: 0.6259 MB / 1.507 GB, free: 13.07 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.195, allocations: 0.964 MB / 1.508 GB, free: 12.1 MB / 1.248 GB Notification: Performance of SimCode: time 5.91e-07/1.195, allocations: 0 / 1.508 GB, free: 12.1 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0924/1.287, allocations: 61.14 MB / 1.568 GB, free: 15.7 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/12.23, allocations: 3.938 kB / 1.568 GB, free: 15.7 MB / 1.311 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_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_ThreeRoomsContam.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches