Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="Buildings_10_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.004507/0.004508, allocations: 101.3 kB / 15.73 MB, free: 6.441 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.001114/0.001114, allocations: 198.3 kB / 16.67 MB, free: 6.355 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2451, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.7722/1.017, allocations: 299.1 MB / 1.458 GB, free: 9.59 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01995/1.037, allocations: 15.29 MB / 1.473 GB, free: 10.27 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/1.04, allocations: 71.69 kB / 1.473 GB, free: 10.2 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004006/1.044, allocations: 1.736 MB / 1.475 GB, free: 8.453 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01315/1.057, allocations: 5.916 MB / 1.481 GB, free: 2.512 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006956/1.064, allocations: 2.834 MB / 1.484 GB, free: 15.68 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008304/1.072, allocations: 7.106 MB / 1.49 GB, free: 8.555 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/1.076, allocations: 2.713 MB / 1.493 GB, free: 5.797 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/1.08, allocations: 2.613 MB / 1.496 GB, free: 3.176 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004181/1.084, allocations: 2.618 MB / 1.498 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006846/1.085, allocations: 344 kB / 1.499 GB, free: 228 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/1.095, allocations: 5.748 MB / 1.504 GB, free: 10.46 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001744/1.097, allocations: 1.508 MB / 1.506 GB, free: 8.949 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002488/1.1, allocations: 1.933 MB / 1.508 GB, free: 7.008 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.011/1.111, allocations: 6.845 MB / 1.514 GB, free: 148 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.111, allocations: 0 / 1.514 GB, free: 148 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.723e-06/1.111, allocations: 0 / 1.514 GB, free: 148 kB / 1.17 GB Notification: Performance of Transformations before backend: time 6.029e-05/1.111, allocations: 0 / 1.514 GB, free: 148 kB / 1.17 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.01055/1.121, allocations: 4.159 MB / 1.518 GB, free: 11.92 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.121, allocations: 12.03 kB / 1.518 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000509/1.122, allocations: 396.5 kB / 1.519 GB, free: 11.51 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005487/1.127, allocations: 0.8469 MB / 1.519 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/1.131, allocations: 1.869 MB / 1.521 GB, free: 8.734 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.131, allocations: 213.5 kB / 1.521 GB, free: 8.523 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/1.131, allocations: 279.9 kB / 1.522 GB, free: 8.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005586/1.137, allocations: 3.635 MB / 1.525 GB, free: 4.52 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.999e-05/1.137, allocations: 4 kB / 1.525 GB, free: 4.516 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002622/1.137, allocations: 112 kB / 1.525 GB, free: 4.406 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/1.137, allocations: 153.4 kB / 1.526 GB, free: 4.254 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005889/1.143, allocations: 3.73 MB / 1.529 GB, free: 0.5117 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.01595/1.159, allocations: 13.27 MB / 1.542 GB, free: 2.168 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004507/1.164, allocations: 3.224 MB / 1.545 GB, free: 14.92 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/1.166, allocations: 1.783 MB / 1.547 GB, free: 13.13 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/1.168, allocations: 1.596 MB / 1.549 GB, free: 11.21 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/1.168, allocations: 60.81 kB / 1.549 GB, free: 11.14 MB / 1.217 GB Notification: Performance of pre-optimization done (n=285): time 4.549e-06/1.168, allocations: 0 / 1.549 GB, free: 11.14 MB / 1.217 GB Notification: Performance of matching and sorting (n=285): time 0.006418/1.174, allocations: 4.035 MB / 1.553 GB, free: 7.055 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.175, allocations: 81.66 kB / 1.553 GB, free: 6.961 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/1.176, allocations: 1.444 MB / 1.554 GB, free: 5.512 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/1.177, allocations: 77.7 kB / 1.554 GB, free: 5.43 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006209/1.177, allocations: 1 MB / 1.555 GB, free: 4.418 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007354/1.178, allocations: 0.9662 MB / 1.556 GB, free: 3.438 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000601/1.178, allocations: 416.9 kB / 1.556 GB, free: 3.023 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 7.62e-05/1.179, allocations: 305.1 kB / 1.557 GB, free: 2.723 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/1.18, allocations: 1.141 MB / 1.558 GB, free: 1.578 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.182, allocations: 1.382 MB / 1.559 GB, free: 148 kB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/1.186, allocations: 2.713 MB / 1.562 GB, free: 13.36 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/1.186, allocations: 0 / 1.562 GB, free: 13.36 MB / 1.232 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.004852/1.191, allocations: 3.069 MB / 1.565 GB, free: 10.24 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.191, allocations: 4 kB / 1.565 GB, free: 10.24 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.191, allocations: 4 kB / 1.565 GB, free: 10.23 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/1.191, allocations: 16 kB / 1.565 GB, free: 10.22 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/1.193, allocations: 0.5071 MB / 1.565 GB, free: 9.711 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/1.193, allocations: 19.94 kB / 1.565 GB, free: 9.691 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.195, allocations: 193.7 kB / 1.566 GB, free: 9.5 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/1.196, allocations: 84.05 kB / 1.566 GB, free: 9.418 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 (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.001145/1.197, allocations: 0.6963 MB / 1.566 GB, free: 8.711 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00041/1.197, allocations: 229.3 kB / 1.567 GB, free: 8.484 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/1.202, allocations: 3.209 MB / 1.57 GB, free: 5.219 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/1.202, allocations: 28 kB / 1.57 GB, free: 5.191 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.202, allocations: 0 / 1.57 GB, free: 5.191 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00377/1.206, allocations: 2.657 MB / 1.572 GB, free: 2.484 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009788/1.216, allocations: 6.631 MB / 1.579 GB, free: 11.68 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.216, allocations: 0 / 1.579 GB, free: 11.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/1.218, allocations: 0.5465 MB / 1.579 GB, free: 11.13 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/1.218, allocations: 12 kB / 1.579 GB, free: 11.12 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/1.219, allocations: 67.98 kB / 1.579 GB, free: 11.05 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.499e-05/1.219, allocations: 12 kB / 1.579 GB, free: 11.04 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/1.219, allocations: 0 / 1.579 GB, free: 11.04 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006762/1.225, allocations: 4.831 MB / 1.584 GB, free: 6.074 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.227, allocations: 0.6187 MB / 1.585 GB, free: 5.434 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/1.227, allocations: 56 kB / 1.585 GB, free: 5.379 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.229, allocations: 65.39 kB / 1.585 GB, free: 5.316 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/1.229, allocations: 185.8 kB / 1.585 GB, free: 5.133 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.229, allocations: 83.98 kB / 1.585 GB, free: 5.051 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001262/1.23, allocations: 0.9891 MB / 1.586 GB, free: 4.066 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/1.23, allocations: 0 / 1.586 GB, free: 4.066 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00201/1.232, allocations: 0.9901 MB / 1.587 GB, free: 3.074 MB / 1.248 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.007512/1.24, allocations: 5.684 MB / 1.593 GB, free: 13.27 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004234/1.244, allocations: 2.857 MB / 1.595 GB, free: 10.38 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.244, allocations: 8.188 kB / 1.595 GB, free: 10.38 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/1.246, allocations: 1.554 MB / 1.597 GB, free: 8.816 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/1.252, allocations: 1.33 MB / 1.598 GB, free: 7.516 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02912/1.281, allocations: 20.5 MB / 1.618 GB, free: 2.625 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.283, allocations: 1.994 MB / 1.62 GB, free: 0.5977 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002663/1.285, allocations: 0.883 MB / 1.621 GB, free: 15.71 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.287, allocations: 1.12 MB / 1.622 GB, free: 14.59 MB / 1.295 GB Notification: Performance of SimCode: time 5.21e-07/1.287, allocations: 0 / 1.622 GB, free: 14.59 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.389, allocations: 70.09 MB / 1.691 GB, free: 9.301 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/13.37, allocations: 11.86 kB / 1.691 GB, free: 9.289 MB / 1.357 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.fmu > Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches