Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001897/0.001897, allocations: 195.1 kB / 16.25 MB, free: 6.629 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.5982, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002271/0.6006, allocations: 1.319 MB / 0.9504 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.6009, allocations: 119.1 kB / 0.9505 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.6009, allocations: 0 / 0.9505 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.6009, allocations: 5.109 kB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.601, allocations: 3.984 kB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.6012, allocations: 35.19 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.397e-05/0.6013, allocations: 14.94 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.6013, allocations: 1.438 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.314e-05/0.6014, allocations: 10.75 kB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.6014, allocations: 12.34 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.6014, allocations: 0 / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.6015, allocations: 48.47 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.6016, allocations: 0 / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.6016, allocations: 14.34 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.955e-05/0.6017, allocations: 34.58 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6017, allocations: 0 / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6017, allocations: 4 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.6017, allocations: 1.438 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002838/0.602, allocations: 331.6 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.6021, allocations: 8.25 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.6021, allocations: 2.219 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.777e-05/0.6022, allocations: 173.9 kB / 0.9512 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6022, allocations: 384 / 0.9512 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.6022, allocations: 5.719 kB / 0.9512 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.824e-05/0.6023, allocations: 44.75 kB / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6023, allocations: 1.625 kB / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.6023, allocations: 0 / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6023, allocations: 0 / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.6024, allocations: 11.16 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.6025, allocations: 149.3 kB / 0.9514 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.83e-05/0.6025, allocations: 23.83 kB / 0.9514 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.6026, allocations: 11.28 kB / 0.9514 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.6031, allocations: 0.6047 MB / 0.952 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.6032, allocations: 39.88 kB / 0.952 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6032, allocations: 0 / 0.952 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001255/0.6033, allocations: 43.25 kB / 0.9521 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.6033, allocations: 51.41 kB / 0.9521 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.601e-05/0.6034, allocations: 97.98 kB / 0.9522 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.6034, allocations: 35.14 kB / 0.9523 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.512e-05/0.6034, allocations: 84.12 kB / 0.9523 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.6034, allocations: 5.281 kB / 0.9523 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.6035, allocations: 16.47 kB / 0.9524 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.6035, allocations: 310.8 kB / 0.9526 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.6035, allocations: 2.75 kB / 0.9527 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.6036, allocations: 2.75 kB / 0.9527 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.6036, allocations: 17.05 kB / 0.9527 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6036, allocations: 1.375 kB / 0.9527 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.258e-05/0.6036, allocations: 49.72 kB / 0.9527 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6037, allocations: 5.5 kB / 0.9527 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.6037, allocations: 0 / 0.9527 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.6037, allocations: 0 / 0.9527 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.6037, allocations: 8.125 kB / 0.9527 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6037, allocations: 0 / 0.9527 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.6038, allocations: 0 / 0.9527 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.6038, allocations: 1.375 kB / 0.9527 GB, free: 5.527 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.6038, allocations: 115.2 kB / 0.9528 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.6038, allocations: 5.312 kB / 0.9528 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.6039, allocations: 45.02 kB / 0.9529 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6039, allocations: 1.375 kB / 0.9529 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6039, allocations: 3.938 kB / 0.9529 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6039, allocations: 3.984 kB / 0.9529 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.531e-05/0.604, allocations: 149.8 kB / 0.953 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.604, allocations: 0 / 0.953 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.604, allocations: 10.67 kB / 0.9531 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.604, allocations: 4.031 kB / 0.9531 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.6041, allocations: 1.375 kB / 0.9531 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6041, allocations: 0 / 0.9531 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6041, allocations: 1.375 kB / 0.9531 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.404e-05/0.6041, allocations: 58.77 kB / 0.9531 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.6041, allocations: 85.03 kB / 0.9532 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.6042, allocations: 5.375 kB / 0.9532 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.615e-05/0.6042, allocations: 4.031 kB / 0.9532 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.6042, allocations: 1.375 kB / 0.9532 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.6042, allocations: 1.375 kB / 0.9532 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.778e-05/0.6042, allocations: 82.16 kB / 0.9533 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6042, allocations: 0 / 0.9533 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000193/0.6044, allocations: 19 kB / 0.9533 GB, free: 4.887 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.6046, allocations: 113.3 kB / 0.9534 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/0.6046, allocations: 10.88 kB / 0.9534 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.6047, allocations: 0 / 0.9534 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/0.6047, allocations: 12.05 kB / 0.9534 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.6049, allocations: 8.125 kB / 0.9534 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.6051, allocations: 119.8 kB / 0.9536 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.64e-05/0.6052, allocations: 0.6754 MB / 0.9542 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.6053, allocations: 5.641 kB / 0.9542 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.6053, allocations: 12.8 kB / 0.9542 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6053, allocations: 1.375 kB / 0.9542 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of Templates: time 0.002364/0.6077, allocations: 0.5902 MB / 0.9548 GB, free: 3.637 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches