Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 157.9 kB / 23 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.868/2.868, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 70.08 kB / 0.9819 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8747, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2304/1.105, allocations: 193.5 MB / 1.343 GB, free: 7.164 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0294/1.135, allocations: 18.91 MB / 1.361 GB, free: 4.199 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/1.137, allocations: 75.44 kB / 1.361 GB, free: 4.125 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003186/1.14, allocations: 1.181 MB / 1.363 GB, free: 2.938 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/1.151, allocations: 4.255 MB / 1.367 GB, free: 14.67 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/1.156, allocations: 1.581 MB / 1.368 GB, free: 13.09 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.009517/1.165, allocations: 7.061 MB / 1.375 GB, free: 6.008 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/1.168, allocations: 1.794 MB / 1.377 GB, free: 4.164 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00486/1.173, allocations: 2.602 MB / 1.379 GB, free: 1.555 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004817/1.178, allocations: 2.464 MB / 1.382 GB, free: 15.09 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0006961/1.179, allocations: 344 kB / 1.382 GB, free: 14.76 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007096/1.186, allocations: 2.883 MB / 1.385 GB, free: 11.87 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001872/1.188, allocations: 1.426 MB / 1.386 GB, free: 10.44 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002583/1.19, allocations: 1.56 MB / 1.388 GB, free: 8.871 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.009318/1.2, allocations: 5.684 MB / 1.393 GB, free: 3.176 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.2, allocations: 0 / 1.393 GB, free: 3.176 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.004e-06/1.2, allocations: 0 / 1.393 GB, free: 3.176 MB / 1.232 GB Notification: Performance of Transformations before backend: time 8.82e-05/1.2, allocations: 0 / 1.393 GB, free: 3.176 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.01/1.21, allocations: 3.853 MB / 1.397 GB, free: 15.27 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.21, allocations: 8.031 kB / 1.397 GB, free: 15.26 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/1.215, allocations: 0.8602 MB / 1.398 GB, free: 14.4 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/1.219, allocations: 1.781 MB / 1.4 GB, free: 12.57 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/1.219, allocations: 201.4 kB / 1.4 GB, free: 12.37 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005481/1.22, allocations: 275.9 kB / 1.4 GB, free: 12.1 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006808/1.226, allocations: 3.873 MB / 1.404 GB, free: 8.094 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.639e-05/1.227, allocations: 7.984 kB / 1.404 GB, free: 8.086 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003036/1.227, allocations: 119.9 kB / 1.404 GB, free: 7.969 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002055/1.227, allocations: 181.9 kB / 1.404 GB, free: 7.789 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008741/1.236, allocations: 4.945 MB / 1.409 GB, free: 2.832 MB / 1.248 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.01771/1.254, allocations: 7.632 MB / 1.417 GB, free: 11.14 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006855/1.26, allocations: 4.516 MB / 1.421 GB, free: 6.582 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003941/1.264, allocations: 2.282 MB / 1.423 GB, free: 4.297 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/1.265, allocations: 179 kB / 1.423 GB, free: 4.121 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.429e-05/1.265, allocations: 81.69 kB / 1.423 GB, free: 4.031 MB / 1.264 GB Notification: Performance of pre-optimization done (n=399): time 6.913e-06/1.265, allocations: 0 / 1.423 GB, free: 4.031 MB / 1.264 GB Notification: Performance of matching and sorting (n=399): time 0.01107/1.276, allocations: 5.802 MB / 1.429 GB, free: 14.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/1.276, allocations: 94.48 kB / 1.429 GB, free: 14.09 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/1.278, allocations: 1.281 MB / 1.43 GB, free: 12.8 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002847/1.279, allocations: 97.7 kB / 1.431 GB, free: 12.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008025/1.279, allocations: 0.9611 MB / 1.432 GB, free: 11.73 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/1.281, allocations: 1.41 MB / 1.433 GB, free: 10.31 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/1.282, allocations: 0.6422 MB / 1.434 GB, free: 9.66 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.282, allocations: 305.1 kB / 1.434 GB, free: 9.359 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/1.285, allocations: 1.745 MB / 1.436 GB, free: 7.613 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/1.289, allocations: 2.087 MB / 1.438 GB, free: 5.488 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007095/1.296, allocations: 4.074 MB / 1.442 GB, free: 1.363 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/1.296, allocations: 0 / 1.442 GB, free: 1.363 MB / 1.279 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.008598/1.304, allocations: 4.602 MB / 1.446 GB, free: 12.75 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/1.304, allocations: 4 kB / 1.446 GB, free: 12.74 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.304, allocations: 4 kB / 1.446 GB, free: 12.74 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.124e-05/1.304, allocations: 20 kB / 1.446 GB, free: 12.72 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00368/1.308, allocations: 0.7806 MB / 1.447 GB, free: 11.94 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.889e-05/1.308, allocations: 20 kB / 1.447 GB, free: 11.92 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/1.311, allocations: 305.5 kB / 1.447 GB, free: 11.62 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/1.312, allocations: 124 kB / 1.447 GB, free: 11.5 MB / 1.295 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 (493): * Single equations (assignments): 493 * 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.001568/1.313, allocations: 0.7467 MB / 1.448 GB, free: 10.74 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006556/1.314, allocations: 258.4 kB / 1.448 GB, free: 10.48 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008445/1.322, allocations: 4.63 MB / 1.453 GB, free: 5.809 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/1.322, allocations: 40 kB / 1.453 GB, free: 5.77 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.322, allocations: 0 / 1.453 GB, free: 5.77 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006725/1.329, allocations: 3.961 MB / 1.457 GB, free: 1.75 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/1.343, allocations: 7.357 MB / 1.464 GB, free: 10.33 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.343, allocations: 0 / 1.464 GB, free: 10.33 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003236/1.346, allocations: 0.6709 MB / 1.464 GB, free: 9.656 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/1.347, allocations: 134.5 kB / 1.465 GB, free: 9.516 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002615/1.347, allocations: 83.92 kB / 1.465 GB, free: 9.434 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/1.351, allocations: 4.649 MB / 1.469 GB, free: 4.48 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.351, allocations: 4.062 kB / 1.469 GB, free: 4.477 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.363, allocations: 6.829 MB / 1.476 GB, free: 13.59 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/1.365, allocations: 0.6966 MB / 1.477 GB, free: 12.89 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/1.365, allocations: 67.94 kB / 1.477 GB, free: 12.82 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.367, allocations: 92.81 kB / 1.477 GB, free: 12.73 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004513/1.367, allocations: 242.6 kB / 1.477 GB, free: 12.5 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002565/1.368, allocations: 112 kB / 1.477 GB, free: 12.39 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001266/1.369, allocations: 0.8444 MB / 1.478 GB, free: 11.54 MB / 1.326 GB Notification: Performance of sort global known variables: time 1e-07/1.369, allocations: 0 / 1.478 GB, free: 11.54 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002551/1.372, allocations: 1.128 MB / 1.479 GB, free: 10.41 MB / 1.326 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.0006781/1.372, allocations: 335 kB / 1.479 GB, free: 10.07 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.006851/1.379, allocations: 4.038 MB / 1.483 GB, free: 6.027 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.379, allocations: 0 / 1.483 GB, free: 6.027 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.003819/1.383, allocations: 2.36 MB / 1.486 GB, free: 3.629 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005208/1.388, allocations: 1.066 MB / 1.487 GB, free: 2.574 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.399, allocations: 6.663 MB / 1.493 GB, free: 11.86 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/1.401, allocations: 1.374 MB / 1.494 GB, free: 10.45 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.004145/1.405, allocations: 1.306 MB / 1.496 GB, free: 9.137 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009221/1.406, allocations: 244.5 kB / 1.496 GB, free: 8.898 MB / 1.342 GB Notification: Performance of SimCode: time 1.152e-06/1.406, allocations: 0 / 1.496 GB, free: 8.898 MB / 1.342 GB Notification: Performance of Templates: time 0.08286/1.489, allocations: 48.68 MB / 1.544 GB, free: 9.133 MB / 1.389 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.920932427048683]