Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.006027/0.006027, allocations: 95.23 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.0016/0.0016, allocations: 206.3 kB / 16.68 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 72.09 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3314, allocations: 162.2 MB / 1.241 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.8182/1.15, allocations: 167 MB / 1.405 GB, free: 9.418 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01391/1.164, allocations: 8.492 MB / 1.413 GB, free: 2.48 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/1.165, allocations: 36.91 kB / 1.413 GB, free: 2.469 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/1.167, allocations: 0.5767 MB / 1.413 GB, free: 1.969 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004675/1.172, allocations: 1.535 MB / 1.415 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/1.175, allocations: 0.9987 MB / 1.416 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005807/1.181, allocations: 4.095 MB / 1.42 GB, free: 13.55 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/1.183, allocations: 1.324 MB / 1.421 GB, free: 12.7 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004062/1.187, allocations: 1.571 MB / 1.423 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/1.19, allocations: 1.503 MB / 1.424 GB, free: 10.92 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003155/1.19, allocations: 187.7 kB / 1.424 GB, free: 10.92 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/1.193, allocations: 1.09 MB / 1.425 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009861/1.194, allocations: 0.6738 MB / 1.426 GB, free: 9.988 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002078/1.196, allocations: 1.032 MB / 1.427 GB, free: 9.316 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006467/1.203, allocations: 2.772 MB / 1.43 GB, free: 6.977 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/1.203, allocations: 0 / 1.43 GB, free: 6.977 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.975e-06/1.203, allocations: 4 kB / 1.43 GB, free: 6.973 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.746e-05/1.203, allocations: 0 / 1.43 GB, free: 6.973 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.005595/1.209, allocations: 2.31 MB / 1.432 GB, free: 4.602 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.209, allocations: 16.03 kB / 1.432 GB, free: 4.586 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003129/1.209, allocations: 230 kB / 1.432 GB, free: 4.352 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/1.21, allocations: 207.7 kB / 1.432 GB, free: 4.148 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/1.212, allocations: 1.186 MB / 1.434 GB, free: 2.918 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.212, allocations: 111 kB / 1.434 GB, free: 2.809 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/1.212, allocations: 148 kB / 1.434 GB, free: 2.664 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/1.215, allocations: 1.927 MB / 1.436 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/1.215, allocations: 7.953 kB / 1.436 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/1.216, allocations: 60 kB / 1.436 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/1.216, allocations: 36 kB / 1.436 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004161/1.22, allocations: 2.478 MB / 1.438 GB, free: 14.11 MB / 1.139 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.008898/1.229, allocations: 6.2 MB / 1.444 GB, free: 7.516 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004082/1.233, allocations: 2.806 MB / 1.447 GB, free: 4.703 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/1.235, allocations: 1.428 MB / 1.448 GB, free: 3.27 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/1.237, allocations: 1.73 MB / 1.45 GB, free: 1.172 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/1.237, allocations: 56.56 kB / 1.45 GB, free: 1.105 MB / 1.139 GB Notification: Performance of pre-optimization done (n=237): time 3.937e-06/1.237, allocations: 0 / 1.45 GB, free: 1.105 MB / 1.139 GB Notification: Performance of matching and sorting (n=237): time 0.006184/1.243, allocations: 3.442 MB / 1.454 GB, free: 13.62 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/1.243, allocations: 77.41 kB / 1.454 GB, free: 13.53 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.245, allocations: 0.7744 MB / 1.454 GB, free: 12.75 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/1.245, allocations: 61.7 kB / 1.454 GB, free: 12.68 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/1.245, allocations: 0.4914 MB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007425/1.246, allocations: 0.8365 MB / 1.456 GB, free: 11.34 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005388/1.246, allocations: 343.7 kB / 1.456 GB, free: 10.99 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.247, allocations: 305.1 kB / 1.456 GB, free: 10.69 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/1.248, allocations: 0.9019 MB / 1.457 GB, free: 9.785 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/1.25, allocations: 1.121 MB / 1.458 GB, free: 8.605 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/1.254, allocations: 2.223 MB / 1.461 GB, free: 6.34 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/1.254, allocations: 7.938 kB / 1.461 GB, free: 6.332 MB / 1.154 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004339/1.258, allocations: 2.437 MB / 1.463 GB, free: 3.887 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.258, allocations: 11.94 kB / 1.463 GB, free: 3.875 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.258, allocations: 4.469 kB / 1.463 GB, free: 3.871 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/1.258, allocations: 21.11 kB / 1.463 GB, free: 3.852 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/1.26, allocations: 435.4 kB / 1.463 GB, free: 3.426 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/1.26, allocations: 12 kB / 1.463 GB, free: 3.414 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/1.261, allocations: 158.8 kB / 1.464 GB, free: 3.258 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/1.261, allocations: 75.98 kB / 1.464 GB, free: 3.184 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.000759/1.262, allocations: 441.7 kB / 1.464 GB, free: 2.742 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/1.262, allocations: 159 kB / 1.464 GB, free: 2.586 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/1.267, allocations: 2.725 MB / 1.467 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.267, allocations: 28 kB / 1.467 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.267, allocations: 3.938 kB / 1.467 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003744/1.271, allocations: 2.369 MB / 1.469 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006718/1.278, allocations: 4.316 MB / 1.473 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.278, allocations: 0 / 1.473 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/1.279, allocations: 407.4 kB / 1.474 GB, free: 8.602 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005723/1.28, allocations: 97.69 kB / 1.474 GB, free: 8.5 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/1.28, allocations: 51.98 kB / 1.474 GB, free: 8.449 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008564/1.281, allocations: 1.128 MB / 1.475 GB, free: 7.27 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.281, allocations: 4 kB / 1.475 GB, free: 7.266 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006474/1.287, allocations: 4.066 MB / 1.479 GB, free: 3.172 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008135/1.288, allocations: 475.5 kB / 1.479 GB, free: 2.688 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/1.288, allocations: 40 kB / 1.479 GB, free: 2.648 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/1.289, allocations: 55.97 kB / 1.48 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/1.29, allocations: 137.8 kB / 1.48 GB, free: 2.461 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.29, allocations: 71.97 kB / 1.48 GB, free: 2.391 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007772/1.291, allocations: 0.5459 MB / 1.48 GB, free: 1.844 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.41e-07/1.291, allocations: 0 / 1.48 GB, free: 1.844 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001483/1.292, allocations: 0.6552 MB / 1.481 GB, free: 1.188 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007555/1.3, allocations: 4.914 MB / 1.486 GB, free: 12.25 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004008/1.304, allocations: 2.321 MB / 1.488 GB, free: 9.922 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.304, allocations: 0 / 1.488 GB, free: 9.922 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/1.306, allocations: 1.281 MB / 1.489 GB, free: 8.645 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/1.308, allocations: 0.5808 MB / 1.49 GB, free: 8.074 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/1.33, allocations: 13.68 MB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.331, allocations: 1.335 MB / 1.504 GB, free: 8.746 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002076/1.333, allocations: 0.7189 MB / 1.505 GB, free: 8.02 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.334, allocations: 0.6281 MB / 1.506 GB, free: 7.391 MB / 1.201 GB Notification: Performance of SimCode: time 7.12e-07/1.334, allocations: 0 / 1.506 GB, free: 7.391 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07937/1.414, allocations: 39.82 MB / 1.545 GB, free: 16 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.56, allocations: 10.45 kB / 1.545 GB, free: 12 kB / 1.232 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches