Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 105.5 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 189.7 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.297/2.297, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.7579, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1874/0.9454, allocations: 192.6 MB / 1.355 GB, free: 2.473 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005538/0.951, allocations: 4.02 MB / 1.359 GB, free: 14.44 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.9517, allocations: 19.88 kB / 1.359 GB, free: 14.42 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.9528, allocations: 485 kB / 1.36 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.956, allocations: 1.598 MB / 1.361 GB, free: 12.34 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.959, allocations: 1.375 MB / 1.363 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.961, allocations: 1.639 MB / 1.364 GB, free: 9.32 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.9623, allocations: 0.9625 MB / 1.365 GB, free: 8.344 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.9639, allocations: 0.9345 MB / 1.366 GB, free: 7.406 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.9651, allocations: 0.8566 MB / 1.367 GB, free: 6.547 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.9654, allocations: 92 kB / 1.367 GB, free: 6.457 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.9678, allocations: 1.313 MB / 1.368 GB, free: 5.141 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.9681, allocations: 358.9 kB / 1.369 GB, free: 4.789 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005801/0.9687, allocations: 0.5055 MB / 1.369 GB, free: 4.281 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.9708, allocations: 1.644 MB / 1.371 GB, free: 2.637 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9708, allocations: 4 kB / 1.371 GB, free: 2.633 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9708, allocations: 0 / 1.371 GB, free: 2.633 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.9708, allocations: 0 / 1.371 GB, free: 2.633 MB / 1.092 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.002639/0.9734, allocations: 1.471 MB / 1.372 GB, free: 1.109 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.9735, allocations: 12.03 kB / 1.372 GB, free: 1.098 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.9749, allocations: 251.2 kB / 1.373 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008101/0.9757, allocations: 0.6077 MB / 1.373 GB, free: 208 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.9758, allocations: 41 kB / 1.373 GB, free: 164 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.9759, allocations: 51.98 kB / 1.373 GB, free: 112 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.9772, allocations: 0.9571 MB / 1.374 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.9772, allocations: 11.89 kB / 1.374 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.05e-05/0.9773, allocations: 20 kB / 1.374 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.9773, allocations: 27.98 kB / 1.374 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.9787, allocations: 0.9406 MB / 1.375 GB, free: 14.08 MB / 1.107 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.004579/0.9833, allocations: 4.266 MB / 1.379 GB, free: 9.645 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009017/0.9842, allocations: 0.5915 MB / 1.38 GB, free: 9.047 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.985, allocations: 0.5174 MB / 1.38 GB, free: 8.523 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000919/0.9859, allocations: 0.886 MB / 1.381 GB, free: 7.453 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.9859, allocations: 39 kB / 1.381 GB, free: 7.406 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001315/0.9873, allocations: 415.5 kB / 1.382 GB, free: 7 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 2.935e-06/0.9873, allocations: 0 / 1.382 GB, free: 7 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.01595/1.003, allocations: 3.842 MB / 1.385 GB, free: 3.109 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/1.003, allocations: 63.78 kB / 1.385 GB, free: 3.035 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.004, allocations: 0.7077 MB / 1.386 GB, free: 2.32 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/1.004, allocations: 33.7 kB / 1.386 GB, free: 2.281 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/1.005, allocations: 324.9 kB / 1.386 GB, free: 1.961 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/1.005, allocations: 186.4 kB / 1.387 GB, free: 1.777 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/1.005, allocations: 158 kB / 1.387 GB, free: 1.617 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/1.005, allocations: 326 kB / 1.387 GB, free: 1.293 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/1.006, allocations: 396.9 kB / 1.388 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/1.007, allocations: 485.5 kB / 1.388 GB, free: 412 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/1.008, allocations: 0.9181 MB / 1.389 GB, free: 15.45 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.008, allocations: 8 kB / 1.389 GB, free: 15.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01046/1.019, allocations: 2.557 MB / 1.391 GB, free: 12.87 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.019, allocations: 4 kB / 1.391 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.019, allocations: 7.984 kB / 1.391 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008792/1.027, allocations: 1.734 MB / 1.393 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/1.028, allocations: 99.8 kB / 1.393 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/1.04, allocations: 7.138 MB / 1.4 GB, free: 3.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/1.041, allocations: 20.05 kB / 1.4 GB, free: 3.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/1.041, allocations: 51.92 kB / 1.4 GB, free: 3.52 MB / 1.123 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.0003915/1.041, allocations: 205.7 kB / 1.4 GB, free: 3.309 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/1.041, allocations: 87.44 kB / 1.4 GB, free: 3.223 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004778/1.046, allocations: 1.738 MB / 1.402 GB, free: 1.469 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.046, allocations: 8 kB / 1.402 GB, free: 1.461 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.046, allocations: 4 kB / 1.402 GB, free: 1.457 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.046, allocations: 3.984 kB / 1.402 GB, free: 1.453 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/1.052, allocations: 2.54 MB / 1.405 GB, free: 14.83 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.052, allocations: 4 kB / 1.405 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/1.052, allocations: 96.02 kB / 1.405 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0032/1.055, allocations: 0.7938 MB / 1.406 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/1.056, allocations: 20.23 kB / 1.406 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006599/1.062, allocations: 4.856 MB / 1.41 GB, free: 8.773 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.062, allocations: 4 kB / 1.41 GB, free: 8.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004897/1.067, allocations: 2.159 MB / 1.412 GB, free: 6.57 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/1.068, allocations: 236.4 kB / 1.413 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/1.068, allocations: 12 kB / 1.413 GB, free: 6.309 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/1.068, allocations: 19.98 kB / 1.413 GB, free: 6.289 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.068, allocations: 64.31 kB / 1.413 GB, free: 6.227 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/1.069, allocations: 23.98 kB / 1.413 GB, free: 6.203 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006187/1.069, allocations: 0.4951 MB / 1.413 GB, free: 5.715 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.71e-07/1.069, allocations: 0 / 1.413 GB, free: 5.715 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009433/1.07, allocations: 287.8 kB / 1.414 GB, free: 5.434 MB / 1.139 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.0005042/1.071, allocations: 217.5 kB / 1.414 GB, free: 5.219 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003381/1.074, allocations: 1.461 MB / 1.415 GB, free: 3.73 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.074, allocations: 0 / 1.415 GB, free: 3.73 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.076, allocations: 0.9224 MB / 1.416 GB, free: 2.785 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/1.078, allocations: 461 kB / 1.417 GB, free: 2.336 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/1.08, allocations: 1.775 MB / 1.418 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/1.081, allocations: 0.9867 MB / 1.419 GB, free: 15.5 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/1.081, allocations: 67.42 kB / 1.419 GB, free: 15.43 MB / 1.154 GB Notification: Performance of SimCode: time 4.41e-07/1.081, allocations: 0 / 1.419 GB, free: 15.43 MB / 1.154 GB Notification: Performance of Templates: time 0.02372/1.105, allocations: 19.36 MB / 1.438 GB, free: 12.2 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches