Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.001443/0.001443, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001562/0.001562, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.489/1.489, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.752/2.752, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0.6562 kB / 0.7863 GB, free: 11.72 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.283e-05, allocations: 3.312 kB / 0.7863 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2566/0.2566, allocations: 180.6 MB / 0.9627 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.2698, allocations: 6.01 MB / 0.9685 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.2717, allocations: 47.62 kB / 0.9686 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.2742, allocations: 0.6913 MB / 0.9693 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.009689/0.2838, allocations: 2.872 MB / 0.9721 GB, free: 12.91 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.2863, allocations: 0.7424 MB / 0.9728 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00633/0.2926, allocations: 3.39 MB / 0.9761 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.2945, allocations: 0.8483 MB / 0.9769 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.2987, allocations: 1.706 MB / 0.9786 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.3014, allocations: 1.066 MB / 0.9796 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.3016, allocations: 128 kB / 0.9798 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.3062, allocations: 1.947 MB / 0.9817 GB, free: 3.059 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0007755/0.307, allocations: 0.5648 MB / 0.9822 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0009574/0.308, allocations: 0.538 MB / 0.9827 GB, free: 1.953 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.005686/0.3137, allocations: 2.824 MB / 0.9855 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3137, allocations: 0 / 0.9855 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3137, allocations: 4 kB / 0.9855 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.329e-05/0.3137, allocations: 0 / 0.9855 GB, free: 15.12 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004723/0.3184, allocations: 1.722 MB / 0.9872 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3185, allocations: 11.97 kB / 0.9872 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/0.3211, allocations: 462.6 kB / 0.9876 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.3229, allocations: 0.8611 MB / 0.9885 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.584e-05/0.323, allocations: 70.02 kB / 0.9885 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.3233, allocations: 119.9 kB / 0.9887 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.3257, allocations: 1.384 MB / 0.99 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.3257, allocations: 4 kB / 0.99 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.3258, allocations: 40 kB / 0.99 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.049e-05/0.3259, allocations: 58.06 kB / 0.9901 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.3285, allocations: 1.249 MB / 0.9913 GB, free: 8.984 MB / 0.9011 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.006341/0.3348, allocations: 3.011 MB / 0.9943 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.3364, allocations: 0.828 MB / 0.9951 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.3372, allocations: 491.8 kB / 0.9955 GB, free: 4.609 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.3373, allocations: 16.66 kB / 0.9956 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.3383, allocations: 0.6776 MB / 0.9962 GB, free: 3.859 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/0.3383, allocations: 4 kB / 0.9962 GB, free: 3.855 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.002347/0.3406, allocations: 1.181 MB / 0.9974 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3407, allocations: 60.06 kB / 0.9974 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.3416, allocations: 0.5107 MB / 0.9979 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.3417, allocations: 37.7 kB / 0.998 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.3421, allocations: 480.5 kB / 0.9984 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.3424, allocations: 273.7 kB / 0.9987 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.3427, allocations: 138.6 kB / 0.9988 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002913/0.343, allocations: 378.8 kB / 0.9992 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.3436, allocations: 341.8 kB / 0.9995 GB, free: 444 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.3443, allocations: 444.8 kB / 0.9999 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.3456, allocations: 0.8308 MB / 1.001 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3456, allocations: 0 / 1.001 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0017/0.3473, allocations: 0.9574 MB / 1.002 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3473, allocations: 4 kB / 1.002 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3473, allocations: 4 kB / 1.002 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.3474, allocations: 8.344 kB / 1.002 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/0.3481, allocations: 155.8 kB / 1.002 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.3481, allocations: 11.94 kB / 1.002 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.3488, allocations: 55.61 kB / 1.002 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.3488, allocations: 28 kB / 1.002 GB, free: 13.87 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005765/0.3494, allocations: 329.5 kB / 1.002 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.3496, allocations: 103.5 kB / 1.002 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.3499, allocations: 99.23 kB / 1.002 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.3499, allocations: 11.94 kB / 1.002 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.3499, allocations: 0 / 1.002 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001579/0.3515, allocations: 1.101 MB / 1.004 GB, free: 12.14 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.003662/0.3551, allocations: 1.89 MB / 1.005 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.3551, allocations: 4 kB / 1.005 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/0.356, allocations: 179.7 kB / 1.006 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.356, allocations: 4 kB / 1.006 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/0.3561, allocations: 15.98 kB / 1.006 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.3561, allocations: 4.031 kB / 1.006 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3561, allocations: 4 kB / 1.006 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.3584, allocations: 1.371 MB / 1.007 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.3588, allocations: 175.3 kB / 1.007 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3589, allocations: 16 kB / 1.007 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.3595, allocations: 23.97 kB / 1.007 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3596, allocations: 44.56 kB / 1.007 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/0.3596, allocations: 24 kB / 1.007 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005009/0.3601, allocations: 362.8 kB / 1.008 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.3601, allocations: 0 / 1.008 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001029/0.3612, allocations: 379.2 kB / 1.008 GB, free: 7.602 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0003286/0.3615, allocations: 171.1 kB / 1.008 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.3629, allocations: 0.7745 MB / 1.009 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3629, allocations: 0 / 1.009 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006497/0.3636, allocations: 407.5 kB / 1.009 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.366, allocations: 0.5407 MB / 1.01 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.3698, allocations: 2.07 MB / 1.012 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.3708, allocations: 0.5425 MB / 1.012 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001022/0.3719, allocations: 262.6 kB / 1.013 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.3721, allocations: 72.5 kB / 1.013 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of SimCode: time 1.162e-06/0.3721, allocations: 0 / 1.013 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of Templates: time 0.4322/0.8044, allocations: 18.36 MB / 1.031 GB, free: 237.4 MB / 0.9167 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.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: 9.07360768399667]