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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000932/0.0009318, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009183/0.0009184, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.000324, allocations: 15.94 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.5796, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.176/0.7557, allocations: 175.3 MB / 1.194 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006923/0.7626, allocations: 3.787 MB / 1.197 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007602/0.7634, allocations: 15.88 kB / 1.197 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.7647, allocations: 310 kB / 1.198 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.768, allocations: 1.139 MB / 1.199 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.7704, allocations: 0.9684 MB / 1.2 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.7726, allocations: 1.978 MB / 1.202 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.7736, allocations: 0.8308 MB / 1.202 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.7749, allocations: 0.8564 MB / 1.203 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.7759, allocations: 0.8294 MB / 1.204 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.7761, allocations: 72 kB / 1.204 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.7777, allocations: 0.721 MB / 1.205 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.778, allocations: 323 kB / 1.205 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.7782, allocations: 181.3 kB / 1.205 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.7793, allocations: 1.072 MB / 1.206 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7794, allocations: 0 / 1.206 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7794, allocations: 0 / 1.206 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.7794, allocations: 4 kB / 1.206 GB, free: 3.125 MB / 0.9512 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.002461/0.7818, allocations: 1.18 MB / 1.208 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7819, allocations: 16.02 kB / 1.208 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.7834, allocations: 242.7 kB / 1.208 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008451/0.7842, allocations: 0.557 MB / 1.208 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.7843, allocations: 37 kB / 1.208 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.7844, allocations: 59.89 kB / 1.208 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.7859, allocations: 0.9648 MB / 1.209 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.7859, allocations: 8 kB / 1.209 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.786, allocations: 20 kB / 1.209 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.7861, allocations: 31.92 kB / 1.209 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.7875, allocations: 0.9446 MB / 1.21 GB, free: 14.9 MB / 0.9669 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.004862/0.7924, allocations: 4.168 MB / 1.214 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009299/0.7934, allocations: 0.5978 MB / 1.215 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007692/0.7941, allocations: 0.5175 MB / 1.215 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009919/0.7951, allocations: 0.8978 MB / 1.216 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.7952, allocations: 39 kB / 1.216 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001767/0.797, allocations: 363 kB / 1.217 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=50): time 3.777e-06/0.797, allocations: 0 / 1.217 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of matching and sorting (n=50): time 0.01658/0.8136, allocations: 3.685 MB / 1.22 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.8136, allocations: 55.84 kB / 1.22 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008591/0.8145, allocations: 0.7038 MB / 1.221 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/0.8146, allocations: 37.7 kB / 1.221 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.8148, allocations: 320.6 kB / 1.221 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.815, allocations: 173.4 kB / 1.222 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.8151, allocations: 15.94 kB / 1.222 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8152, allocations: 330 kB / 1.222 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006615/0.8159, allocations: 400.9 kB / 1.222 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.8166, allocations: 489.5 kB / 1.223 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.8173, allocations: 452.7 kB / 1.223 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8173, allocations: 0 / 1.223 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01056/0.8279, allocations: 2.478 MB / 1.226 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.8279, allocations: 4 kB / 1.226 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.828, allocations: 7.984 kB / 1.226 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008742/0.8367, allocations: 1.542 MB / 1.227 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.8372, allocations: 99.86 kB / 1.227 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.8488, allocations: 6.536 MB / 1.234 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008209/0.8496, allocations: 35.91 kB / 1.234 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.8497, allocations: 51.89 kB / 1.234 GB, free: 6.164 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003532/0.8501, allocations: 209.7 kB / 1.234 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.8503, allocations: 82.97 kB / 1.234 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004983/0.8553, allocations: 1.671 MB / 1.236 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8553, allocations: 7.984 kB / 1.236 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8553, allocations: 4 kB / 1.236 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.8553, allocations: 0 / 1.236 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/0.861, allocations: 2.481 MB / 1.238 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.861, allocations: 4 kB / 1.238 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.8615, allocations: 88.08 kB / 1.238 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003146/0.8646, allocations: 0.6652 MB / 1.239 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.8647, allocations: 15.94 kB / 1.239 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00631/0.871, allocations: 4.412 MB / 1.243 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8711, allocations: 480 / 1.243 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005111/0.8762, allocations: 2.089 MB / 1.245 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.8766, allocations: 231.9 kB / 1.245 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.8767, allocations: 15.98 kB / 1.245 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.8773, allocations: 31.98 kB / 1.245 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.8775, allocations: 52.44 kB / 1.245 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.8775, allocations: 23.98 kB / 1.245 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006277/0.8782, allocations: 499 kB / 1.246 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.8782, allocations: 0 / 1.246 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009614/0.8792, allocations: 295.8 kB / 1.246 GB, free: 8.867 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004672/0.8796, allocations: 217.4 kB / 1.246 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002986/0.8826, allocations: 1.402 MB / 1.248 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8826, allocations: 0 / 1.248 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.8844, allocations: 0.8874 MB / 1.249 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.8864, allocations: 449.7 kB / 1.249 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.8892, allocations: 1.967 MB / 1.251 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.8898, allocations: 0.9828 MB / 1.252 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006411/0.8904, allocations: 166.6 kB / 1.252 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.8906, allocations: 71.34 kB / 1.252 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of SimCode: time 2.174e-06/0.8907, allocations: 0 / 1.252 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of Templates: time 0.4705/1.361, allocations: 20.82 MB / 1.273 GB, free: 225.5 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches