Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001716/0.001716, allocations: 105.3 kB / 15.98 MB, free: 6.355 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.001759/0.001759, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.568/1.568, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 482.4 MB / 0.755 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001982, allocations: 71.67 kB / 0.924 GB, free: 360 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.134, allocations: 162.2 MB / 1.082 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.3025/1.437, allocations: 190.2 MB / 1.268 GB, free: 404 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009562/1.446, allocations: 4.001 MB / 1.272 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/1.448, allocations: 15.88 kB / 1.272 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/1.451, allocations: 405.9 kB / 1.272 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00626/1.457, allocations: 1.439 MB / 1.274 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005418/1.462, allocations: 1.253 MB / 1.275 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003716/1.466, allocations: 1.631 MB / 1.277 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/1.468, allocations: 0.9352 MB / 1.278 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/1.47, allocations: 1.075 MB / 1.279 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/1.472, allocations: 0.8721 MB / 1.279 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/1.472, allocations: 96 kB / 1.28 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/1.476, allocations: 1.352 MB / 1.281 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004897/1.476, allocations: 350.9 kB / 1.281 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008063/1.477, allocations: 0.5133 MB / 1.282 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/1.479, allocations: 1.177 MB / 1.283 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.479, allocations: 0 / 1.283 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.745e-06/1.479, allocations: 0 / 1.283 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.431e-05/1.479, allocations: 0 / 1.283 GB, free: 1.242 MB / 0.9981 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.004016/1.483, allocations: 1.447 MB / 1.284 GB, free: 15.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/1.483, allocations: 8.031 kB / 1.284 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/1.485, allocations: 242.8 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.486, allocations: 0.5875 MB / 1.285 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/1.486, allocations: 44.98 kB / 1.285 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.486, allocations: 48 kB / 1.285 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/1.488, allocations: 0.9648 MB / 1.286 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.488, allocations: 7.938 kB / 1.286 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/1.488, allocations: 20 kB / 1.286 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/1.488, allocations: 27.98 kB / 1.286 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/1.49, allocations: 0.9367 MB / 1.287 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006076/1.496, allocations: 4.27 MB / 1.291 GB, free: 8.312 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/1.497, allocations: 0.5948 MB / 1.292 GB, free: 7.711 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008367/1.498, allocations: 0.5214 MB / 1.292 GB, free: 7.188 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/1.499, allocations: 0.8822 MB / 1.293 GB, free: 6.121 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.499, allocations: 38.94 kB / 1.293 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001881/1.501, allocations: 455.1 kB / 1.294 GB, free: 5.625 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 3.937e-06/1.501, allocations: 0 / 1.294 GB, free: 5.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01795/1.519, allocations: 3.83 MB / 1.297 GB, free: 1.742 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/1.519, allocations: 63.72 kB / 1.297 GB, free: 1.668 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.521, allocations: 0.7193 MB / 1.298 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/1.521, allocations: 33.7 kB / 1.298 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/1.521, allocations: 324.6 kB / 1.299 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/1.521, allocations: 177.5 kB / 1.299 GB, free: 412 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/1.522, allocations: 150 kB / 1.299 GB, free: 256 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002433/1.522, allocations: 322 kB / 1.299 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007312/1.523, allocations: 392.9 kB / 1.3 GB, free: 15.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000827/1.524, allocations: 489.5 kB / 1.3 GB, free: 15.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/1.525, allocations: 0.918 MB / 1.301 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.525, allocations: 4 kB / 1.301 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01179/1.537, allocations: 2.564 MB / 1.303 GB, free: 11.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/1.537, allocations: 4 kB / 1.303 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.537, allocations: 4 kB / 1.303 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/1.547, allocations: 1.73 MB / 1.305 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/1.548, allocations: 95.8 kB / 1.305 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/1.563, allocations: 7.147 MB / 1.312 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/1.564, allocations: 35.94 kB / 1.312 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.564, allocations: 43.94 kB / 1.312 GB, free: 2.148 MB / 1.029 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.0006135/1.564, allocations: 205.7 kB / 1.312 GB, free: 1.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.565, allocations: 83.05 kB / 1.313 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00548/1.57, allocations: 1.746 MB / 1.314 GB, free: 96 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.974e-06/1.57, allocations: 4 kB / 1.314 GB, free: 92 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.57, allocations: 4 kB / 1.314 GB, free: 88 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/1.57, allocations: 3.984 kB / 1.314 GB, free: 84 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006595/1.577, allocations: 2.544 MB / 1.317 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/1.577, allocations: 4 kB / 1.317 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/1.577, allocations: 92.08 kB / 1.317 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003587/1.581, allocations: 0.8056 MB / 1.318 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/1.581, allocations: 20 kB / 1.318 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007886/1.589, allocations: 4.848 MB / 1.322 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.589, allocations: 4 kB / 1.322 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/1.595, allocations: 2.155 MB / 1.324 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/1.595, allocations: 231.9 kB / 1.325 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.596, allocations: 12 kB / 1.325 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/1.596, allocations: 39.88 kB / 1.325 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/1.596, allocations: 52.38 kB / 1.325 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/1.596, allocations: 20 kB / 1.325 GB, free: 4.836 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007387/1.597, allocations: 0.499 MB / 1.325 GB, free: 4.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.597, allocations: 0 / 1.325 GB, free: 4.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001082/1.598, allocations: 283.8 kB / 1.326 GB, free: 4.062 MB / 1.045 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.0006401/1.599, allocations: 223.8 kB / 1.326 GB, free: 3.84 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003954/1.603, allocations: 1.523 MB / 1.327 GB, free: 2.289 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.603, allocations: 0 / 1.327 GB, free: 2.289 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.605, allocations: 0.9147 MB / 1.328 GB, free: 1.352 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.607, allocations: 459.7 kB / 1.329 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/1.61, allocations: 2.016 MB / 1.331 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000773/1.611, allocations: 0.9789 MB / 1.332 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/1.611, allocations: 75.34 kB / 1.332 GB, free: 13.77 MB / 1.061 GB Notification: Performance of SimCode: time 1.052e-06/1.611, allocations: 4 kB / 1.332 GB, free: 13.77 MB / 1.061 GB Notification: Performance of Templates: time 0.0302/1.642, allocations: 19.28 MB / 1.35 GB, free: 10.6 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches