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.001392/0.001392, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.661/2.661, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.576/0.5773, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002323/0.5796, allocations: 1.247 MB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.5799, allocations: 119.5 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.58, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.58, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.5801, allocations: 3.984 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.5803, allocations: 47.83 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.503e-05/0.5803, allocations: 15.92 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.5804, allocations: 0 / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.5804, allocations: 7.938 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.5804, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.5804, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.5806, allocations: 51.94 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.5806, allocations: 3.938 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.5806, allocations: 15.92 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.5807, allocations: 35.94 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5807, allocations: 4 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5807, allocations: 3.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.5808, allocations: 4 kB / 1.019 GB, free: 0.9336 MB / 0.7637 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.0003707/0.5811, allocations: 333.5 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5812, allocations: 8.031 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.5812, allocations: 4.938 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.5813, allocations: 164.3 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.5814, allocations: 384 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.5814, allocations: 4.312 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.489e-05/0.5815, allocations: 45.8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5815, allocations: 0 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.5815, allocations: 0 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5815, allocations: 4 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.5815, allocations: 4 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.5817, allocations: 149.7 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/0.5817, allocations: 26.61 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.5818, allocations: 12.8 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/0.5825, allocations: 0.6052 MB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.5826, allocations: 38.5 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5826, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001419/0.5827, allocations: 41.61 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.5827, allocations: 51.41 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.5828, allocations: 106 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.5828, allocations: 25.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.5829, allocations: 80.14 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5829, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.5829, allocations: 17.72 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.583, allocations: 314.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.5831, allocations: 7.938 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.5831, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.5831, allocations: 20.92 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5831, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.814e-05/0.5832, allocations: 41.55 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.5832, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5832, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5832, allocations: 7.922 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.5833, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.5833, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.5833, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.5833, allocations: 15.91 kB / 1.021 GB, free: 14.47 MB / 0.7794 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.064e-05/0.5834, allocations: 105.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.5834, allocations: 3.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.5835, allocations: 44.81 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5835, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5835, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5835, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.5836, allocations: 153.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5836, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.5837, allocations: 11.97 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5837, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.5837, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5837, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5837, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.406e-05/0.5838, allocations: 65.06 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.5838, allocations: 85.05 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.5839, allocations: 4.031 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.622e-05/0.5839, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.5839, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.5839, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.5839, allocations: 83.45 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.584, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001967/0.5842, allocations: 16 kB / 1.021 GB, free: 13.8 MB / 0.7794 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.0001508/0.5843, allocations: 125.4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.476e-05/0.5844, allocations: 11.94 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5844, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.5844, allocations: 8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.5846, allocations: 6.031 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.5849, allocations: 106 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.5852, allocations: 0.6768 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.5852, allocations: 16.19 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.5852, allocations: 7.438 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5852, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.002487/0.5877, allocations: 0.5991 MB / 1.023 GB, free: 12.2 MB / 0.7794 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