Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008343/0.0008343, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007976/0.0007976, allocations: 177.9 kB / 23.21 MB, free: 1.34 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 0.8465/0.8465, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.621/1.621, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.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_11_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_11_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.691e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.6259/0.6259, allocations: 170.3 MB / 1.118 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004732/0.6306, allocations: 3.788 MB / 1.122 GB, free: 29.22 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.631, allocations: 24.62 kB / 1.122 GB, free: 29.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.632, allocations: 472.2 kB / 1.122 GB, free: 28.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.6346, allocations: 1.604 MB / 1.124 GB, free: 28.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.6374, allocations: 1.452 MB / 1.125 GB, free: 27.36 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.6389, allocations: 1.671 MB / 1.127 GB, free: 26.57 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.6397, allocations: 0.8401 MB / 1.128 GB, free: 26.18 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.641, allocations: 1.211 MB / 1.129 GB, free: 25.68 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008785/0.6418, allocations: 0.7935 MB / 1.13 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.642, allocations: 98.44 kB / 1.13 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.6437, allocations: 1.123 MB / 1.131 GB, free: 25.03 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.644, allocations: 384.9 kB / 1.131 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003662/0.6444, allocations: 398.7 kB / 1.131 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.6464, allocations: 1.762 MB / 1.133 GB, free: 24.05 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.6464, allocations: 4 kB / 1.133 GB, free: 24.04 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6464, allocations: 0 / 1.133 GB, free: 24.04 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.6464, allocations: 1.219 kB / 1.133 GB, free: 24.04 MB / 0.9948 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.001826/0.6482, allocations: 1.182 MB / 1.134 GB, free: 23.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.6483, allocations: 10.39 kB / 1.134 GB, free: 23.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009191/0.6492, allocations: 244.9 kB / 1.135 GB, free: 23.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.6499, allocations: 0.5478 MB / 1.135 GB, free: 22.85 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.6499, allocations: 46.02 kB / 1.135 GB, free: 22.83 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.65, allocations: 48.09 kB / 1.135 GB, free: 22.81 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.6512, allocations: 1.051 MB / 1.136 GB, free: 22.26 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.6512, allocations: 10.33 kB / 1.136 GB, free: 22.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.82e-05/0.6512, allocations: 19 kB / 1.136 GB, free: 22.24 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.6513, allocations: 28.84 kB / 1.136 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.6525, allocations: 1.005 MB / 1.137 GB, free: 21.86 MB / 0.9948 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.003034/0.6555, allocations: 3.604 MB / 1.141 GB, free: 19.21 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.6562, allocations: 0.5625 MB / 1.141 GB, free: 18.98 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.6568, allocations: 485.4 kB / 1.142 GB, free: 18.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000405/0.6572, allocations: 135 kB / 1.142 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.6572, allocations: 37.72 kB / 1.142 GB, free: 18.74 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001261/0.6585, allocations: 0.6106 MB / 1.143 GB, free: 18.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=50): time 2.334e-06/0.6585, allocations: 0 / 1.143 GB, free: 18.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=50): time 0.009702/0.6682, allocations: 3.658 MB / 1.146 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.6682, allocations: 58.34 kB / 1.146 GB, free: 17.69 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.6687, allocations: 0.5624 MB / 1.147 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.6688, allocations: 37.17 kB / 1.147 GB, free: 17.39 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.6689, allocations: 331.2 kB / 1.147 GB, free: 17.13 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.669, allocations: 185.2 kB / 1.147 GB, free: 16.98 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.6692, allocations: 153.4 kB / 1.147 GB, free: 16.93 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.6693, allocations: 377.8 kB / 1.148 GB, free: 16.58 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.6698, allocations: 393.6 kB / 1.148 GB, free: 16.43 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.6703, allocations: 0.5247 MB / 1.149 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.6713, allocations: 0.9271 MB / 1.15 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6713, allocations: 2.25 kB / 1.15 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005917/0.6773, allocations: 2.541 MB / 1.152 GB, free: 15 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6773, allocations: 10.44 kB / 1.152 GB, free: 15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6773, allocations: 2.625 kB / 1.152 GB, free: 15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004704/0.682, allocations: 1.725 MB / 1.154 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.6823, allocations: 93.53 kB / 1.154 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007235/0.6895, allocations: 6.814 MB / 1.161 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.69, allocations: 19.39 kB / 1.161 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.6901, allocations: 52.81 kB / 1.161 GB, free: 10.7 MB / 0.9948 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.0003347/0.6904, allocations: 215.2 kB / 1.161 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6905, allocations: 72.69 kB / 1.161 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/0.6933, allocations: 1.713 MB / 1.163 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.6933, allocations: 8.406 kB / 1.163 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6933, allocations: 3.281 kB / 1.163 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.6933, allocations: 2.203 kB / 1.163 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.6967, allocations: 2.329 MB / 1.165 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6967, allocations: 2.25 kB / 1.165 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.6969, allocations: 93.39 kB / 1.165 GB, free: 8.875 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.6987, allocations: 0.7954 MB / 1.166 GB, free: 8.762 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.6987, allocations: 14.28 kB / 1.166 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003789/0.7025, allocations: 4.563 MB / 1.17 GB, free: 5.461 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7025, allocations: 5.312 kB / 1.17 GB, free: 5.457 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.7055, allocations: 2.121 MB / 1.172 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.7058, allocations: 141.7 kB / 1.172 GB, free: 4.496 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.7058, allocations: 15.03 kB / 1.172 GB, free: 4.488 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.7061, allocations: 23.23 kB / 1.172 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.7062, allocations: 60.25 kB / 1.172 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.7063, allocations: 22.91 kB / 1.172 GB, free: 4.457 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003386/0.7066, allocations: 401.2 kB / 1.173 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.7066, allocations: 0 / 1.173 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008709/0.7075, allocations: 304 kB / 1.173 GB, free: 4.227 MB / 0.9948 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 (49): * Single equations (assignments): 47 * 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.0003265/0.7078, allocations: 213 kB / 1.173 GB, free: 4.094 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.7098, allocations: 1.398 MB / 1.175 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.7098, allocations: 1.344 kB / 1.175 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000935/0.7108, allocations: 0.8622 MB / 1.176 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009734/0.7117, allocations: 352.8 kB / 1.176 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.7135, allocations: 1.649 MB / 1.178 GB, free: 1.969 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.7137, allocations: 387.4 kB / 1.178 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.7139, allocations: 70.81 kB / 1.178 GB, free: 1.832 MB / 0.9948 GB Notification: Performance of SimCode: time 6.92e-07/0.7139, allocations: 0 / 1.178 GB, free: 1.832 MB / 0.9948 GB Notification: Performance of Templates: time 0.01394/0.7278, allocations: 18.3 MB / 1.196 GB, free: 8.289 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.598677913658321]