Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009232/0.0009231, allocations: 92.16 kB / 16.02 MB, free: 80 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.001309/0.001309, allocations: 183 kB / 16.92 MB, free: 6.926 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.615/1.615, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.971/2.971, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003873, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9539/0.9543, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2905/1.245, allocations: 213.2 MB / 1.232 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9412/2.186, allocations: 20.49 MB / 1.252 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00492/2.191, allocations: 50.62 kB / 1.252 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005664/2.197, allocations: 1.09 MB / 1.253 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01729/2.214, allocations: 3.849 MB / 1.257 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006572/2.221, allocations: 1.383 MB / 1.258 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01999/2.241, allocations: 9.514 MB / 1.267 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005468/2.246, allocations: 1.93 MB / 1.269 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007932/2.254, allocations: 1.971 MB / 1.271 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008499/2.263, allocations: 2.463 MB / 1.274 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001539/2.264, allocations: 160.2 kB / 1.274 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/2.277, allocations: 3.927 MB / 1.278 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003329/2.28, allocations: 1.255 MB / 1.279 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005183/2.286, allocations: 1.676 MB / 1.281 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008733/2.294, allocations: 4.201 MB / 1.285 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/2.294, allocations: 3.562 kB / 1.285 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.257e-06/2.294, allocations: 0 / 1.285 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002011/2.295, allocations: 4 kB / 1.285 GB, free: 1.5 MB / 0.9825 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.01155/2.306, allocations: 3.445 MB / 1.288 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/2.306, allocations: 11.56 kB / 1.288 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00593/2.312, allocations: 0.8284 MB / 1.289 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005543/2.318, allocations: 1.889 MB / 1.291 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/2.318, allocations: 206.8 kB / 1.291 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006138/2.319, allocations: 269.8 kB / 1.291 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006428/2.325, allocations: 3.28 MB / 1.294 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-05/2.325, allocations: 2.844 kB / 1.294 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/2.325, allocations: 112.6 kB / 1.294 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/2.326, allocations: 128.4 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007831/2.333, allocations: 4.622 MB / 1.299 GB, free: 15.16 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.01872/2.352, allocations: 10.89 MB / 1.31 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006478/2.359, allocations: 4.868 MB / 1.314 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00381/2.362, allocations: 2.522 MB / 1.317 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/2.364, allocations: 0.8698 MB / 1.318 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/2.364, allocations: 74.73 kB / 1.318 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 6.662e-06/2.364, allocations: 0 / 1.318 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01067/2.374, allocations: 6.045 MB / 1.324 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/2.375, allocations: 97.77 kB / 1.324 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/2.377, allocations: 1.221 MB / 1.325 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000386/2.377, allocations: 94.56 kB / 1.325 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006789/2.378, allocations: 0.8184 MB / 1.326 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/2.379, allocations: 1.333 MB / 1.327 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/2.38, allocations: 268.8 kB / 1.327 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/2.38, allocations: 312.5 kB / 1.328 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/2.382, allocations: 1.606 MB / 1.329 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/2.385, allocations: 1.903 MB / 1.331 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005744/2.391, allocations: 3.84 MB / 1.335 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/2.391, allocations: 0 / 1.335 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007042/2.398, allocations: 4.195 MB / 1.339 GB, free: 492 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/2.398, allocations: 11.31 kB / 1.339 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/2.398, allocations: 2.469 kB / 1.339 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/2.398, allocations: 18.59 kB / 1.339 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/2.401, allocations: 0.6826 MB / 1.34 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.9e-05/2.401, allocations: 26.36 kB / 1.34 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/2.404, allocations: 399.8 kB / 1.34 GB, free: 120 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/2.405, allocations: 119.5 kB / 1.34 GB, free: 80 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 (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.001831/2.407, allocations: 0.7231 MB / 1.341 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/2.407, allocations: 241.5 kB / 1.341 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007698/2.415, allocations: 4.644 MB / 1.346 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/2.415, allocations: 36 kB / 1.346 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/2.415, allocations: 4 kB / 1.346 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00625/2.421, allocations: 3.963 MB / 1.35 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/2.44, allocations: 8.284 MB / 1.358 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/2.44, allocations: 0 / 1.358 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/2.443, allocations: 0.6655 MB / 1.358 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005869/2.444, allocations: 137.4 kB / 1.358 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004107/2.444, allocations: 83.98 kB / 1.359 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004679/2.449, allocations: 4.525 MB / 1.363 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/2.449, allocations: 0 / 1.363 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/2.462, allocations: 6.825 MB / 1.37 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/2.465, allocations: 0.7666 MB / 1.37 GB, free: 2.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00087/2.466, allocations: 64 kB / 1.37 GB, free: 2.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/2.469, allocations: 218.2 kB / 1.371 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005387/2.469, allocations: 217.7 kB / 1.371 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/2.47, allocations: 119.7 kB / 1.371 GB, free: 1.742 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001463/2.471, allocations: 0.8645 MB / 1.372 GB, free: 0.875 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/2.471, allocations: 3.938 kB / 1.372 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00389/2.475, allocations: 1.088 MB / 1.373 GB, free: 15.78 MB / 1.045 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.0007525/2.476, allocations: 344.3 kB / 1.373 GB, free: 15.49 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006374/2.482, allocations: 4.046 MB / 1.377 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/2.482, allocations: 0 / 1.377 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003695/2.486, allocations: 2.559 MB / 1.38 GB, free: 8.953 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005351/2.491, allocations: 1.029 MB / 1.381 GB, free: 7.934 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/2.503, allocations: 8.241 MB / 1.389 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/2.505, allocations: 1.942 MB / 1.391 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/2.507, allocations: 275.4 kB / 1.391 GB, free: 13.43 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/2.507, allocations: 4 kB / 1.391 GB, free: 13.42 MB / 1.061 GB Notification: Performance of Templates: time 0.1042/2.611, allocations: 57.64 MB / 1.447 GB, free: 3.973 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches