Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_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_latest_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.007256/0.007256, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001793/0.001793, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2784, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00231/0.2807, allocations: 1.259 MB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002981/0.281, allocations: 123.5 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.2811, allocations: 0 / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.2811, allocations: 0 / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.2812, allocations: 7.922 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.2814, allocations: 39.84 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.2815, allocations: 15.92 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.2815, allocations: 4 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.312e-05/0.2816, allocations: 11.94 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.2816, allocations: 7.984 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2817, allocations: 0 / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.2818, allocations: 51.94 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.2818, allocations: 3.938 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.2818, allocations: 7.938 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.282, allocations: 31.95 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.282, allocations: 3.938 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.282, allocations: 0 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.282, allocations: 4 kB / 1.209 GB, free: 8.07 MB / 0.9669 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.0003749/0.2824, allocations: 339.4 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2824, allocations: 12.61 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.2824, allocations: 4.938 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2826, allocations: 160.4 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.2826, allocations: 384 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.2826, allocations: 384 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.296e-05/0.2827, allocations: 37.64 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2827, allocations: 0 / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.2827, allocations: 7.984 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2827, allocations: 4 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/0.2828, allocations: 3.938 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.2829, allocations: 153.7 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.283, allocations: 26.59 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.283, allocations: 8.859 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006789/0.2837, allocations: 0.613 MB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.2837, allocations: 30.56 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.2837, allocations: 0 / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000145/0.2839, allocations: 49.62 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.2839, allocations: 51.41 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.284, allocations: 101.8 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.284, allocations: 25.7 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.284, allocations: 84.27 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.2841, allocations: 7.906 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.2841, allocations: 13.72 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2842, allocations: 310.8 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.2842, allocations: 8 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.2843, allocations: 4 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.2843, allocations: 16.84 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2843, allocations: 0 / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.382e-05/0.2844, allocations: 49.64 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2844, allocations: 5.562 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2844, allocations: 3.938 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2844, allocations: 0 / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.2845, allocations: 4 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2845, allocations: 0 / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.2845, allocations: 0 / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.2845, allocations: 4 kB / 1.211 GB, free: 5.609 MB / 0.9669 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 6.974e-05/0.2846, allocations: 109.8 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.2846, allocations: 11.88 kB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.594e-05/0.2847, allocations: 52.75 kB / 1.211 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2847, allocations: 0 / 1.211 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2847, allocations: 0 / 1.211 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2847, allocations: 0 / 1.211 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.628e-05/0.2848, allocations: 153.6 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2848, allocations: 3.938 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.2849, allocations: 7.984 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2849, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.2849, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2849, allocations: 4.031 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2849, allocations: 0 / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.223e-05/0.285, allocations: 57.14 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.285, allocations: 89.03 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.285, allocations: 0 / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.2851, allocations: 0 / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.2851, allocations: 3.938 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.2851, allocations: 8.031 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.2851, allocations: 79.28 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2851, allocations: 0 / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001953/0.2853, allocations: 15.98 kB / 1.212 GB, free: 4.926 MB / 0.9669 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.0001641/0.2855, allocations: 111.2 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.928e-05/0.2856, allocations: 11.98 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2856, allocations: 3.938 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.144e-05/0.2856, allocations: 4.062 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.2859, allocations: 12 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.2861, allocations: 110 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2864, allocations: 0.6766 MB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.2864, allocations: 7.984 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.2864, allocations: 7.438 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.2864, allocations: 4 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of Templates: time 0.00262/0.289, allocations: 0.5957 MB / 1.213 GB, free: 3.328 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches