Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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.00128/0.00128, 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.001603/0.001603, allocations: 157.6 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.496/1.496, 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.264/3.264, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.824e-05, allocations: 5.094 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2516/0.2516, allocations: 170.3 MB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0079/0.2595, allocations: 3.934 MB / 1.048 GB, free: 7.652 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009654/0.2605, allocations: 31.75 kB / 1.048 GB, free: 7.621 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2619, allocations: 468.8 kB / 1.048 GB, free: 7.16 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004608/0.2665, allocations: 1.659 MB / 1.05 GB, free: 5.492 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.2705, allocations: 1.44 MB / 1.051 GB, free: 4.047 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002729/0.2732, allocations: 1.689 MB / 1.053 GB, free: 2.352 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.2747, allocations: 0.9114 MB / 1.054 GB, free: 1.426 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/0.2775, allocations: 1.379 MB / 1.055 GB, free: 44 kB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4185/0.6959, allocations: 0.7964 MB / 1.056 GB, free: 48.4 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.6962, allocations: 105 kB / 1.056 GB, free: 48.4 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.6984, allocations: 1.155 MB / 1.057 GB, free: 48.4 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003263/0.6987, allocations: 387.6 kB / 1.058 GB, free: 48.4 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.6993, allocations: 417.4 kB / 1.058 GB, free: 48.4 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.7016, allocations: 1.829 MB / 1.06 GB, free: 48.4 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7016, allocations: 0 / 1.06 GB, free: 48.4 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7016, allocations: 0.5 kB / 1.06 GB, free: 48.4 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.7016, allocations: 0.9062 kB / 1.06 GB, free: 48.4 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002418/0.704, allocations: 1.198 MB / 1.061 GB, free: 47.78 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.704, allocations: 9.281 kB / 1.061 GB, free: 47.78 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.7073, allocations: 0.5203 MB / 1.061 GB, free: 47.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.7081, allocations: 0.595 MB / 1.062 GB, free: 47.46 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.7082, allocations: 40.84 kB / 1.062 GB, free: 47.46 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.7083, allocations: 50.94 kB / 1.062 GB, free: 47.46 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.7102, allocations: 1.178 MB / 1.063 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.7102, allocations: 5.906 kB / 1.063 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.7103, allocations: 21.23 kB / 1.063 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.7103, allocations: 32.23 kB / 1.063 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.7125, allocations: 1.203 MB / 1.064 GB, free: 47.2 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.004791/0.7173, allocations: 3.81 MB / 1.068 GB, free: 45.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.7193, allocations: 0.8477 MB / 1.069 GB, free: 45.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.7204, allocations: 0.5744 MB / 1.07 GB, free: 45.19 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004935/0.7209, allocations: 90.5 kB / 1.07 GB, free: 45.19 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.7209, allocations: 37.03 kB / 1.07 GB, free: 45.15 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002286/0.7232, allocations: 0.6202 MB / 1.07 GB, free: 45.13 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 2.765e-06/0.7232, allocations: 0 / 1.07 GB, free: 45.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.01876/0.742, allocations: 3.98 MB / 1.074 GB, free: 45.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.742, allocations: 57.59 kB / 1.074 GB, free: 44.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.7426, allocations: 0.5688 MB / 1.075 GB, free: 44.83 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.7427, allocations: 34.09 kB / 1.075 GB, free: 44.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.7429, allocations: 329 kB / 1.075 GB, free: 44.65 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.7431, allocations: 187.1 kB / 1.075 GB, free: 44.53 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.7434, allocations: 152.7 kB / 1.075 GB, free: 44.51 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.7434, allocations: 374.8 kB / 1.076 GB, free: 44.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/0.7444, allocations: 0.4889 MB / 1.076 GB, free: 44.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.7455, allocations: 0.629 MB / 1.077 GB, free: 44.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.7475, allocations: 1.104 MB / 1.078 GB, free: 43.98 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7475, allocations: 0 / 1.078 GB, free: 43.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01233/0.7599, allocations: 2.762 MB / 1.081 GB, free: 43.87 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.7599, allocations: 6.031 kB / 1.081 GB, free: 43.87 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.7599, allocations: 5.344 kB / 1.081 GB, free: 43.87 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/0.7724, allocations: 2.52 MB / 1.083 GB, free: 43.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.7733, allocations: 127 kB / 1.083 GB, free: 43.81 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.786, allocations: 6.844 MB / 1.09 GB, free: 41.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.7871, allocations: 44.53 kB / 1.09 GB, free: 41.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.7873, allocations: 53.06 kB / 1.09 GB, free: 41.27 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * 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): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004759/0.7878, allocations: 211.6 kB / 1.09 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.7882, allocations: 93.14 kB / 1.09 GB, free: 41.11 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006294/0.7945, allocations: 1.899 MB / 1.092 GB, free: 40.99 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.7945, allocations: 9.625 kB / 1.092 GB, free: 40.98 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.7945, allocations: 3.281 kB / 1.092 GB, free: 40.98 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.7945, allocations: 3.469 kB / 1.092 GB, free: 40.98 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007189/0.8017, allocations: 2.61 MB / 1.095 GB, free: 40.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.8017, allocations: 1.062 kB / 1.095 GB, free: 40.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008344/0.8025, allocations: 118.4 kB / 1.095 GB, free: 40.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005104/0.8076, allocations: 1.375 MB / 1.096 GB, free: 40.51 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.8077, allocations: 17.8 kB / 1.096 GB, free: 40.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00634/0.8141, allocations: 4.574 MB / 1.101 GB, free: 38.08 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8141, allocations: 5 kB / 1.101 GB, free: 38.08 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007158/0.8212, allocations: 2.459 MB / 1.103 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/0.8218, allocations: 163.1 kB / 1.103 GB, free: 37.75 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.822, allocations: 12.09 kB / 1.103 GB, free: 37.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009623/0.8229, allocations: 52.22 kB / 1.103 GB, free: 37.74 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.8232, allocations: 53.44 kB / 1.103 GB, free: 37.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.8233, allocations: 25.55 kB / 1.103 GB, free: 37.74 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005456/0.8238, allocations: 403.7 kB / 1.104 GB, free: 37.64 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.8238, allocations: 0 / 1.104 GB, free: 37.64 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00124/0.8251, allocations: 313.8 kB / 1.104 GB, free: 37.62 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (46): * Single equations (assignments): 44 * 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): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003821/0.8254, allocations: 188.5 kB / 1.104 GB, free: 37.52 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004518/0.83, allocations: 1.618 MB / 1.106 GB, free: 37.21 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.83, allocations: 1.188 kB / 1.106 GB, free: 37.21 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.8322, allocations: 0.9518 MB / 1.107 GB, free: 36.95 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.8341, allocations: 374 kB / 1.107 GB, free: 36.91 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.8376, allocations: 1.704 MB / 1.109 GB, free: 36.17 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.8381, allocations: 385 kB / 1.109 GB, free: 36.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007935/0.8389, allocations: 143 kB / 1.109 GB, free: 36.03 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.8392, allocations: 69.86 kB / 1.109 GB, free: 36.02 MB / 1.01 GB Notification: Performance of SimCode: time 1.082e-06/0.8392, allocations: 0 / 1.109 GB, free: 36.02 MB / 1.01 GB Notification: Performance of Templates: time 0.03551/0.8747, allocations: 23.3 MB / 1.132 GB, free: 33.67 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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.883078521001153]