Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00141/0.00141, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001573/0.001573, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.224/3.224, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.037e-05, allocations: 3.656 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2518/0.2519, allocations: 180.6 MB / 1.054 GB, free: 1.246 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.4222/0.6741, allocations: 6 MB / 1.06 GB, free: 45.68 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.6753, allocations: 48.81 kB / 1.06 GB, free: 45.68 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.6771, allocations: 0.6961 MB / 1.061 GB, free: 45.68 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006069/0.6831, allocations: 2.883 MB / 1.063 GB, free: 45.57 MB / 1.01 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.001621/0.6848, allocations: 0.7349 MB / 1.064 GB, free: 45.56 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003396/0.6882, allocations: 3.407 MB / 1.067 GB, free: 45.46 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.6894, allocations: 0.8367 MB / 1.068 GB, free: 45.39 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.6928, allocations: 1.842 MB / 1.07 GB, free: 45.22 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.6951, allocations: 1.041 MB / 1.071 GB, free: 45.12 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.6954, allocations: 128.2 kB / 1.071 GB, free: 45.12 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.6991, allocations: 1.945 MB / 1.073 GB, free: 44.9 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006295/0.6997, allocations: 0.5625 MB / 1.074 GB, free: 44.84 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.7007, allocations: 0.5426 MB / 1.074 GB, free: 44.79 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.7051, allocations: 2.825 MB / 1.077 GB, free: 44.56 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7051, allocations: 2.844 kB / 1.077 GB, free: 44.56 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7052, allocations: 0.8438 kB / 1.077 GB, free: 44.56 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.709e-05/0.7052, allocations: 0 / 1.077 GB, free: 44.56 MB / 1.01 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.004228/0.7094, allocations: 1.72 MB / 1.079 GB, free: 43.79 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.7095, allocations: 11.94 kB / 1.079 GB, free: 43.79 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.7118, allocations: 466.1 kB / 1.079 GB, free: 43.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.7131, allocations: 0.8528 MB / 1.08 GB, free: 43.45 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/0.7132, allocations: 81.19 kB / 1.08 GB, free: 43.44 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.7134, allocations: 106.1 kB / 1.08 GB, free: 43.44 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.7151, allocations: 1.395 MB / 1.081 GB, free: 43.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.7152, allocations: 0 / 1.081 GB, free: 43.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.7153, allocations: 42.94 kB / 1.081 GB, free: 43.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/0.7153, allocations: 59.8 kB / 1.082 GB, free: 43.11 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.717, allocations: 1.239 MB / 1.083 GB, free: 43.09 MB / 1.01 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.005073/0.722, allocations: 3.023 MB / 1.086 GB, free: 42.66 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.7232, allocations: 0.8339 MB / 1.086 GB, free: 42.63 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.7238, allocations: 488.8 kB / 1.087 GB, free: 42.62 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.528e-05/0.7239, allocations: 20.27 kB / 1.087 GB, free: 42.62 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007075/0.7246, allocations: 0.6825 MB / 1.088 GB, free: 42.32 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/0.7246, allocations: 0 / 1.088 GB, free: 42.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.002088/0.7267, allocations: 1.175 MB / 1.089 GB, free: 42.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.7267, allocations: 65.53 kB / 1.089 GB, free: 42.16 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/0.7273, allocations: 0.5099 MB / 1.089 GB, free: 42.04 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.7274, allocations: 40.95 kB / 1.089 GB, free: 42.01 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.7277, allocations: 477.3 kB / 1.09 GB, free: 41.76 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.7279, allocations: 279.8 kB / 1.09 GB, free: 41.57 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.7281, allocations: 126.8 kB / 1.09 GB, free: 41.56 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7282, allocations: 378.8 kB / 1.091 GB, free: 41.25 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.7287, allocations: 331.9 kB / 1.091 GB, free: 41.25 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.7292, allocations: 449 kB / 1.091 GB, free: 41.15 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.7303, allocations: 0.824 MB / 1.092 GB, free: 41.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7303, allocations: 1.969 kB / 1.092 GB, free: 41.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001487/0.7318, allocations: 0.9565 MB / 1.093 GB, free: 40.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.7318, allocations: 10.66 kB / 1.093 GB, free: 40.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7318, allocations: 3.312 kB / 1.093 GB, free: 40.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.7319, allocations: 6.719 kB / 1.093 GB, free: 40.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.7326, allocations: 156.5 kB / 1.093 GB, free: 40.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.7326, allocations: 9.062 kB / 1.093 GB, free: 40.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.7333, allocations: 54.12 kB / 1.093 GB, free: 40.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.7334, allocations: 28.95 kB / 1.093 GB, free: 40.93 MB / 1.01 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.0004475/0.7338, allocations: 332.8 kB / 1.094 GB, free: 40.81 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.734, allocations: 101.5 kB / 1.094 GB, free: 40.77 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.7343, allocations: 105.2 kB / 1.094 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.7343, allocations: 9.344 kB / 1.094 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.7343, allocations: 3.281 kB / 1.094 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/0.7355, allocations: 1.096 MB / 1.095 GB, free: 40.29 MB / 1.01 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.002803/0.7383, allocations: 1.897 MB / 1.097 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7383, allocations: 1.594 kB / 1.097 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008436/0.7391, allocations: 177.3 kB / 1.097 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.028e-05/0.7391, allocations: 3.938 kB / 1.097 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.7392, allocations: 17.28 kB / 1.097 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.7392, allocations: 3.156 kB / 1.097 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7392, allocations: 1.406 kB / 1.097 GB, free: 39.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.7411, allocations: 1.371 MB / 1.098 GB, free: 39.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/0.7415, allocations: 172 kB / 1.098 GB, free: 39.73 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.7417, allocations: 16.73 kB / 1.098 GB, free: 39.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/0.7423, allocations: 26.69 kB / 1.099 GB, free: 39.72 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.7424, allocations: 49.14 kB / 1.099 GB, free: 39.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.7425, allocations: 25.39 kB / 1.099 GB, free: 39.72 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000448/0.7429, allocations: 358.4 kB / 1.099 GB, free: 39.64 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.7429, allocations: 4.656 kB / 1.099 GB, free: 39.63 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009618/0.7439, allocations: 379.5 kB / 1.099 GB, free: 39.58 MB / 1.01 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.0002691/0.7442, allocations: 177.9 kB / 1.099 GB, free: 39.49 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.7454, allocations: 0.7722 MB / 1.1 GB, free: 39.46 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7454, allocations: 1.25 kB / 1.1 GB, free: 39.46 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.746, allocations: 410.7 kB / 1.101 GB, free: 39.46 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.7485, allocations: 0.5459 MB / 1.101 GB, free: 39.41 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.7516, allocations: 2.062 MB / 1.103 GB, free: 38.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.7523, allocations: 0.5429 MB / 1.104 GB, free: 38.54 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009833/0.7533, allocations: 263.7 kB / 1.104 GB, free: 38.52 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.7536, allocations: 70.97 kB / 1.104 GB, free: 38.5 MB / 1.01 GB Notification: Performance of SimCode: time 8.22e-07/0.7536, allocations: 5.406 kB / 1.104 GB, free: 38.5 MB / 1.01 GB Notification: Performance of Templates: time 0.03156/0.7851, allocations: 18.41 MB / 1.122 GB, free: 36.56 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.439098851988092]