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.001871/0.001871, allocations: 106.2 kB / 16.41 MB, free: 6.496 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.0021/0.0021, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.594/1.594, allocations: 222.9 MB / 241 MB, free: 15.15 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.711/2.711, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 72.09 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167/1.17, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2586/1.428, allocations: 192.6 MB / 1.355 GB, free: 2.473 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00776/1.436, allocations: 4.022 MB / 1.359 GB, free: 14.44 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/1.437, allocations: 23.88 kB / 1.359 GB, free: 14.42 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/1.439, allocations: 489 kB / 1.36 GB, free: 13.94 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00479/1.444, allocations: 1.595 MB / 1.361 GB, free: 12.34 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004203/1.448, allocations: 1.376 MB / 1.363 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003253/1.451, allocations: 1.643 MB / 1.364 GB, free: 9.312 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/1.453, allocations: 0.9509 MB / 1.365 GB, free: 8.348 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/1.455, allocations: 0.9424 MB / 1.366 GB, free: 7.402 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/1.457, allocations: 0.8487 MB / 1.367 GB, free: 6.551 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004731/1.458, allocations: 96 kB / 1.367 GB, free: 6.457 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/1.461, allocations: 1.309 MB / 1.368 GB, free: 5.145 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004989/1.462, allocations: 367 kB / 1.369 GB, free: 4.785 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007978/1.462, allocations: 0.5094 MB / 1.369 GB, free: 4.273 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003166/1.466, allocations: 1.64 MB / 1.371 GB, free: 2.633 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.466, allocations: 0 / 1.371 GB, free: 2.633 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.296e-06/1.466, allocations: 0 / 1.371 GB, free: 2.633 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.623e-05/1.466, allocations: 4 kB / 1.371 GB, free: 2.629 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.003468/1.469, allocations: 1.467 MB / 1.372 GB, free: 1.109 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.469, allocations: 8.031 kB / 1.372 GB, free: 1.102 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/1.471, allocations: 255.1 kB / 1.373 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.472, allocations: 0.6116 MB / 1.373 GB, free: 204 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/1.472, allocations: 40.98 kB / 1.373 GB, free: 160 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/1.472, allocations: 52 kB / 1.373 GB, free: 108 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/1.474, allocations: 0.9542 MB / 1.374 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/1.474, allocations: 15.92 kB / 1.374 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.791e-05/1.474, allocations: 20 kB / 1.374 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/1.474, allocations: 31.94 kB / 1.374 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/1.476, allocations: 0.9406 MB / 1.375 GB, free: 14.07 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.00623/1.482, allocations: 4.262 MB / 1.379 GB, free: 9.641 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/1.483, allocations: 0.59 MB / 1.38 GB, free: 9.043 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008672/1.484, allocations: 0.5198 MB / 1.38 GB, free: 8.52 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/1.485, allocations: 0.8822 MB / 1.381 GB, free: 7.453 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.485, allocations: 42.94 kB / 1.381 GB, free: 7.402 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00164/1.487, allocations: 411.5 kB / 1.382 GB, free: 7 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 4.008e-06/1.487, allocations: 0 / 1.382 GB, free: 7 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.01775/1.505, allocations: 3.845 MB / 1.385 GB, free: 3.105 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/1.505, allocations: 59.78 kB / 1.385 GB, free: 3.035 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/1.506, allocations: 0.7078 MB / 1.386 GB, free: 2.32 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/1.506, allocations: 37.7 kB / 1.386 GB, free: 2.277 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/1.507, allocations: 320.9 kB / 1.387 GB, free: 1.961 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/1.507, allocations: 186.4 kB / 1.387 GB, free: 1.777 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/1.507, allocations: 150.1 kB / 1.387 GB, free: 1.625 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.508, allocations: 333.9 kB / 1.387 GB, free: 1.293 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/1.508, allocations: 400.9 kB / 1.388 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/1.509, allocations: 477.5 kB / 1.388 GB, free: 416 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/1.511, allocations: 0.9258 MB / 1.389 GB, free: 15.45 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.511, allocations: 0 / 1.389 GB, free: 15.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01182/1.523, allocations: 2.561 MB / 1.391 GB, free: 12.88 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/1.523, allocations: 8 kB / 1.391 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.523, allocations: 0 / 1.391 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009847/1.533, allocations: 1.741 MB / 1.393 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/1.533, allocations: 91.81 kB / 1.393 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/1.548, allocations: 7.153 MB / 1.4 GB, free: 3.578 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.549, allocations: 24.05 kB / 1.4 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/1.549, allocations: 43.94 kB / 1.4 GB, free: 3.512 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.000593/1.55, allocations: 205.7 kB / 1.4 GB, free: 3.301 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/1.55, allocations: 91.38 kB / 1.401 GB, free: 3.211 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005564/1.556, allocations: 1.738 MB / 1.402 GB, free: 1.453 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/1.556, allocations: 4 kB / 1.402 GB, free: 1.449 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.556, allocations: 8 kB / 1.402 GB, free: 1.441 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/1.556, allocations: 3.984 kB / 1.402 GB, free: 1.438 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007143/1.563, allocations: 2.532 MB / 1.405 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/1.563, allocations: 8.031 kB / 1.405 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/1.564, allocations: 96.06 kB / 1.405 GB, free: 14.72 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003759/1.568, allocations: 0.7938 MB / 1.406 GB, free: 13.92 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.568, allocations: 20 kB / 1.406 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008872/1.577, allocations: 4.849 MB / 1.41 GB, free: 8.773 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.577, allocations: 4 kB / 1.41 GB, free: 8.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006722/1.583, allocations: 2.159 MB / 1.412 GB, free: 6.57 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.585, allocations: 236.4 kB / 1.413 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004154/1.585, allocations: 12 kB / 1.413 GB, free: 6.309 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009766/1.586, allocations: 27.91 kB / 1.413 GB, free: 6.281 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/1.586, allocations: 56.44 kB / 1.413 GB, free: 6.227 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/1.586, allocations: 20 kB / 1.413 GB, free: 6.207 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001351/1.588, allocations: 0.5029 MB / 1.413 GB, free: 5.711 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.31e-07/1.588, allocations: 0 / 1.413 GB, free: 5.711 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0019/1.59, allocations: 283.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.001071/1.591, allocations: 219.2 kB / 1.414 GB, free: 5.215 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005026/1.596, allocations: 1.464 MB / 1.415 GB, free: 3.723 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.596, allocations: 0 / 1.415 GB, free: 3.723 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.598, allocations: 0.9224 MB / 1.416 GB, free: 2.777 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.601, allocations: 460.9 kB / 1.417 GB, free: 2.328 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/1.606, allocations: 1.737 MB / 1.418 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.608, allocations: 0.9789 MB / 1.419 GB, free: 15.54 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009105/1.608, allocations: 162.6 kB / 1.419 GB, free: 15.38 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/1.609, allocations: 67.42 kB / 1.419 GB, free: 15.31 MB / 1.154 GB Notification: Performance of SimCode: time 1.903e-06/1.609, allocations: 0 / 1.419 GB, free: 15.31 MB / 1.154 GB Notification: Performance of Templates: time 0.04676/1.656, allocations: 22.83 MB / 1.442 GB, free: 8.738 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 -s cvode -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