Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.008335/0.008335, allocations: 103 kB / 15.88 MB, free: 6.328 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.001499/0.001499, allocations: 198.2 kB / 16.79 MB, free: 6.254 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8715, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2432/1.115, allocations: 190.4 MB / 1.135 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007243/1.122, allocations: 4.069 MB / 1.139 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/1.123, allocations: 15.88 kB / 1.139 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/1.125, allocations: 401.9 kB / 1.14 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004011/1.129, allocations: 1.435 MB / 1.141 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/1.132, allocations: 1.242 MB / 1.142 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002871/1.135, allocations: 2.35 MB / 1.145 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/1.137, allocations: 0.8909 MB / 1.146 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/1.139, allocations: 0.8603 MB / 1.146 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/1.14, allocations: 0.8799 MB / 1.147 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003724/1.141, allocations: 79.94 kB / 1.147 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/1.144, allocations: 1.574 MB / 1.149 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006011/1.145, allocations: 339 kB / 1.149 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/1.146, allocations: 497.7 kB / 1.15 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/1.148, allocations: 1.165 MB / 1.151 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.148, allocations: 3.984 kB / 1.151 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.062e-06/1.148, allocations: 0 / 1.151 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.358e-05/1.148, allocations: 0 / 1.151 GB, free: 3.164 MB / 0.9044 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.004009/1.152, allocations: 1.441 MB / 1.152 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.152, allocations: 8.031 kB / 1.152 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/1.154, allocations: 246.7 kB / 1.153 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/1.155, allocations: 0.5798 MB / 1.153 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/1.155, allocations: 37 kB / 1.153 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.155, allocations: 52 kB / 1.153 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/1.157, allocations: 0.9725 MB / 1.154 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.157, allocations: 7.906 kB / 1.154 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/1.157, allocations: 24 kB / 1.154 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/1.157, allocations: 23.98 kB / 1.154 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/1.159, allocations: 0.9406 MB / 1.155 GB, free: 14.68 MB / 0.92 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.006295/1.165, allocations: 4.254 MB / 1.159 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.166, allocations: 0.6055 MB / 1.16 GB, free: 9.629 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008764/1.167, allocations: 0.5112 MB / 1.16 GB, free: 9.117 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.168, allocations: 0.8861 MB / 1.161 GB, free: 8.047 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.168, allocations: 35 kB / 1.161 GB, free: 8.004 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001828/1.17, allocations: 435.2 kB / 1.162 GB, free: 7.578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 7.454e-06/1.17, allocations: 0 / 1.162 GB, free: 7.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01861/1.189, allocations: 3.841 MB / 1.165 GB, free: 3.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/1.189, allocations: 63.78 kB / 1.165 GB, free: 3.609 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/1.19, allocations: 0.7078 MB / 1.166 GB, free: 2.891 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.55e-05/1.19, allocations: 29.7 kB / 1.166 GB, free: 2.855 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/1.19, allocations: 324.6 kB / 1.167 GB, free: 2.535 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/1.191, allocations: 173.4 kB / 1.167 GB, free: 2.363 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/1.191, allocations: 150.1 kB / 1.167 GB, free: 2.211 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.191, allocations: 330 kB / 1.167 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007365/1.192, allocations: 392.9 kB / 1.168 GB, free: 1.496 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/1.193, allocations: 489.5 kB / 1.168 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/1.194, allocations: 0.9258 MB / 1.169 GB, free: 40 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.194, allocations: 0 / 1.169 GB, free: 40 kB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01175/1.206, allocations: 2.56 MB / 1.171 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.206, allocations: 7.938 kB / 1.171 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.206, allocations: 4 kB / 1.171 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009831/1.216, allocations: 1.734 MB / 1.173 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/1.216, allocations: 91.81 kB / 1.173 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.23, allocations: 6.658 MB / 1.18 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.231, allocations: 31.95 kB / 1.18 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/1.231, allocations: 47.92 kB / 1.18 GB, free: 4.598 MB / 0.9356 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.0005481/1.232, allocations: 209.6 kB / 1.18 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/1.232, allocations: 79.06 kB / 1.18 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/1.237, allocations: 1.749 MB / 1.182 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.237, allocations: 8 kB / 1.182 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/1.238, allocations: 0 / 1.182 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.238, allocations: 7.984 kB / 1.182 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006466/1.244, allocations: 2.528 MB / 1.184 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.244, allocations: 0 / 1.184 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/1.244, allocations: 87.89 kB / 1.184 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/1.248, allocations: 0.8017 MB / 1.185 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/1.248, allocations: 19.98 kB / 1.185 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006666/1.255, allocations: 4.482 MB / 1.189 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.255, allocations: 7.938 kB / 1.19 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/1.26, allocations: 2.139 MB / 1.192 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005966/1.261, allocations: 231.9 kB / 1.192 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.261, allocations: 15.98 kB / 1.192 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006592/1.262, allocations: 31.98 kB / 1.192 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.262, allocations: 56.38 kB / 1.192 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/1.262, allocations: 19.98 kB / 1.192 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007481/1.263, allocations: 0.499 MB / 1.192 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.263, allocations: 0 / 1.192 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00122/1.264, allocations: 295.8 kB / 1.193 GB, free: 6.91 MB / 0.9512 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.0005965/1.265, allocations: 212.8 kB / 1.193 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003819/1.268, allocations: 1.468 MB / 1.194 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.268, allocations: 0 / 1.194 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/1.27, allocations: 0.9108 MB / 1.195 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.272, allocations: 444.7 kB / 1.196 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/1.276, allocations: 2.028 MB / 1.198 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007523/1.277, allocations: 0.975 MB / 1.199 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/1.277, allocations: 71.42 kB / 1.199 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of SimCode: time 2.775e-06/1.277, allocations: 0 / 1.199 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of Templates: time 0.02919/1.306, allocations: 19.28 MB / 1.217 GB, free: 13.54 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches