Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_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_10_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.007243/0.007242, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001732/0.001731, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 1.019 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2782, allocations: 151.6 MB / 1.167 GB, free: 6.961 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002086/0.2803, allocations: 1.266 MB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002592/0.2806, allocations: 123.8 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.2806, allocations: 0 / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.2806, allocations: 0 / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.2807, allocations: 11.92 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.2809, allocations: 35.89 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.818e-05/0.281, allocations: 11.94 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.281, allocations: 7.984 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.281, allocations: 7.984 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.2811, allocations: 7.938 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2811, allocations: 0 / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.2812, allocations: 51.94 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.148e-06/0.2813, allocations: 0 / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.2813, allocations: 7.938 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2814, allocations: 43.88 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2814, allocations: 0 / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2814, allocations: 0 / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.2814, allocations: 0 / 1.168 GB, free: 5.379 MB / 0.92 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.0003468/0.2818, allocations: 335.4 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2818, allocations: 15.97 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.2819, allocations: 0.9375 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.282, allocations: 172.2 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.282, allocations: 4.375 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.282, allocations: 4.375 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.645e-05/0.2821, allocations: 37.64 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.2821, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2821, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2821, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.2821, allocations: 7.984 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.2823, allocations: 153.7 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.074e-05/0.2824, allocations: 30.5 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.2824, allocations: 12.86 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006952/0.2831, allocations: 0.6051 MB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2831, allocations: 34.56 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2831, allocations: 0 / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.2832, allocations: 41.69 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2833, allocations: 55.53 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/0.2834, allocations: 93.86 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2834, allocations: 25.7 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.2834, allocations: 88.08 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.2834, allocations: 11.94 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.2835, allocations: 9.719 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.2836, allocations: 314.8 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.2836, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.2836, allocations: 12 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.2836, allocations: 8.859 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2836, allocations: 0 / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.625e-05/0.2837, allocations: 45.62 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2837, allocations: 9.875 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2838, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2838, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.2838, allocations: 7.938 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.2838, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.2839, allocations: 4.281 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2839, allocations: 4 kB / 1.17 GB, free: 2.914 MB / 0.92 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.341e-05/0.2839, allocations: 105.8 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.2839, allocations: 15.91 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.113e-05/0.284, allocations: 40.83 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.284, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.284, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2841, allocations: 3.984 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.304e-05/0.2842, allocations: 153.7 kB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2842, allocations: 7.938 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.2842, allocations: 4 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2842, allocations: 3.984 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.2842, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2842, allocations: 7.875 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2842, allocations: 0 / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.41e-05/0.2843, allocations: 65.09 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.2844, allocations: 89.06 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.2844, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.743e-05/0.2844, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.2844, allocations: 4 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.2844, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.2845, allocations: 83.28 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2845, allocations: 0 / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001917/0.2847, allocations: 15.94 kB / 1.171 GB, free: 2.223 MB / 0.92 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.0001538/0.2848, allocations: 115.2 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.007e-05/0.2849, allocations: 11.94 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2849, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.59e-05/0.2849, allocations: 11.98 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.2851, allocations: 7.938 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.2854, allocations: 102 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.2856, allocations: 0.673 MB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.2856, allocations: 4 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.2857, allocations: 11.44 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of SimCode: time 2.8e-07/0.2857, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of Templates: time 0.0024/0.2881, allocations: 0.5956 MB / 1.172 GB, free: 0.6328 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches