Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 104.3 kB / 16.27 MB, free: 6.418 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.001661/0.001661, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.52/1.52, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.647/2.647, allocations: 437.1 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 64.52 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3968, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002896/0.3998, allocations: 1.3 MB / 1.019 GB, free: 9.27 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006416/0.4004, allocations: 294.9 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.4005, allocations: 0 / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.4005, allocations: 0 / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.4006, allocations: 19.91 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.401, allocations: 75.72 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.4011, allocations: 31.86 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.4011, allocations: 11.92 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.4012, allocations: 23.98 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.4013, allocations: 7.938 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.4013, allocations: 0 / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.4015, allocations: 83.91 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.4015, allocations: 11.92 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.4016, allocations: 7.938 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.4017, allocations: 80 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4018, allocations: 3.984 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.657e-06/0.4018, allocations: 4 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4018, allocations: 0 / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004983/0.4023, allocations: 355.3 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4023, allocations: 12.92 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.4024, allocations: 0.9375 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.4025, allocations: 168.3 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4025, allocations: 384 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.4025, allocations: 384 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4027, allocations: 45.81 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4027, allocations: 0 / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4027, allocations: 0 / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4027, allocations: 4 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.68e-05/0.4028, allocations: 15.92 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.403, allocations: 157.7 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.4031, allocations: 34.56 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.4031, allocations: 8.922 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.4045, allocations: 1.187 MB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.4046, allocations: 38.44 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4046, allocations: 3.938 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001779/0.4048, allocations: 57.53 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4048, allocations: 51.41 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.405, allocations: 113.8 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.405, allocations: 25.7 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.405, allocations: 84.14 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.4051, allocations: 7.844 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.4051, allocations: 17.72 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4053, allocations: 314.8 kB / 1.022 GB, free: 5.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.4053, allocations: 4 kB / 1.022 GB, free: 5.477 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.4053, allocations: 4 kB / 1.022 GB, free: 5.473 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.4054, allocations: 25.12 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4054, allocations: 0 / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.177e-05/0.4055, allocations: 53.56 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4055, allocations: 4 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4055, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4055, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/0.4056, allocations: 4 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4056, allocations: 0 / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.4056, allocations: 7.984 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.4056, allocations: 0 / 1.023 GB, free: 5.371 MB / 0.795 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 (3): * Single equations (assignments): 3 * 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 8.826e-05/0.4057, allocations: 113.8 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.4057, allocations: 11.84 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.4059, allocations: 57.53 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4059, allocations: 0 / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4059, allocations: 4 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4059, allocations: 0 / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.4061, allocations: 173.6 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4061, allocations: 0 / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.4061, allocations: 7.938 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4061, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4061, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4061, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4062, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.4063, allocations: 76.97 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.4064, allocations: 89.03 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.4064, allocations: 7.938 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.4064, allocations: 4 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.4065, allocations: 0 / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4065, allocations: 4 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.4065, allocations: 87.56 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4065, allocations: 0 / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002077/0.4068, allocations: 31.94 kB / 1.023 GB, free: 4.609 MB / 0.795 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 (3): * Single equations (assignments): 3 * 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.0002163/0.407, allocations: 127.2 kB / 1.023 GB, free: 4.473 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.812e-05/0.4071, allocations: 19.98 kB / 1.023 GB, free: 4.453 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4071, allocations: 4 kB / 1.023 GB, free: 4.449 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.4071, allocations: 7.938 kB / 1.023 GB, free: 4.441 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.4073, allocations: 4 kB / 1.023 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.4077, allocations: 147.8 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.4081, allocations: 0.6846 MB / 1.024 GB, free: 3.551 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.4081, allocations: 19.42 kB / 1.024 GB, free: 3.531 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.4081, allocations: 0 / 1.024 GB, free: 3.531 MB / 0.795 GB Notification: Performance of Templates: time 0.002593/0.4107, allocations: 0.7255 MB / 1.025 GB, free: 2.812 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches