Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_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_9_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.001251/0.001251, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.00113/0.001131, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.443/1.443, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.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.338/2.338, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 64.69 kB / 0.8132 GB, free: 32.94 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3827, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.004234/0.3871, allocations: 1.299 MB / 0.9515 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.388, allocations: 305 kB / 0.9518 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.3881, allocations: 0 / 0.9518 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.3882, allocations: 3.938 kB / 0.9518 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.3883, allocations: 7.922 kB / 0.9518 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3888, allocations: 83.7 kB / 0.9519 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3889, allocations: 35.92 kB / 0.9519 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.218e-05/0.389, allocations: 0 / 0.9519 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3891, allocations: 27.86 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.3892, allocations: 15.92 kB / 0.952 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.3892, allocations: 0 / 0.952 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.3895, allocations: 83.91 kB / 0.9521 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3895, allocations: 0 / 0.9521 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.3895, allocations: 19.86 kB / 0.9521 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3898, allocations: 76.06 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3898, allocations: 0 / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3898, allocations: 0 / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3898, allocations: 0 / 0.9522 GB, free: 6.883 MB / 0.7325 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.0006233/0.3904, allocations: 355.3 kB / 0.9525 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3905, allocations: 8.031 kB / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.3905, allocations: 8.938 kB / 0.9525 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.3908, allocations: 176.3 kB / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3908, allocations: 384 / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3908, allocations: 384 / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.391, allocations: 41.75 kB / 0.9527 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.391, allocations: 4 kB / 0.9527 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.391, allocations: 4 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.391, allocations: 0 / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.3911, allocations: 7.984 kB / 0.9527 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.3914, allocations: 157.7 kB / 0.9529 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.3915, allocations: 34.58 kB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.3915, allocations: 20.84 kB / 0.9529 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.3931, allocations: 1.175 MB / 0.9541 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/0.3931, allocations: 50.42 kB / 0.9541 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.3932, allocations: 0 / 0.9541 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002084/0.3934, allocations: 45.69 kB / 0.9542 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3934, allocations: 55.41 kB / 0.9542 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3936, allocations: 105.8 kB / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3936, allocations: 25.7 kB / 0.9544 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.3936, allocations: 80.14 kB / 0.9544 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.3937, allocations: 23.75 kB / 0.9545 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.3937, allocations: 17.66 kB / 0.9545 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3939, allocations: 310.8 kB / 0.9548 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.693e-05/0.3939, allocations: 11.98 kB / 0.9548 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.394, allocations: 3.938 kB / 0.9548 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.394, allocations: 16.86 kB / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.394, allocations: 0 / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.911e-05/0.3941, allocations: 49.62 kB / 0.9549 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3941, allocations: 12 kB / 0.9549 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3941, allocations: 0 / 0.9549 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3942, allocations: 0 / 0.9549 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.3942, allocations: 4 kB / 0.9549 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3942, allocations: 0 / 0.9549 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.3943, allocations: 4 kB / 0.9549 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3943, allocations: 4 kB / 0.9549 GB, free: 3.621 MB / 0.7325 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 0.0001141/0.3944, allocations: 113.8 kB / 0.955 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.3944, allocations: 12.17 kB / 0.955 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.3946, allocations: 61.58 kB / 0.9551 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3946, allocations: 0 / 0.9551 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3946, allocations: 4 kB / 0.9551 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3947, allocations: 0 / 0.9551 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.3948, allocations: 153.7 kB / 0.9552 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3948, allocations: 0 / 0.9552 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.3949, allocations: 11.92 kB / 0.9552 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3949, allocations: 4 kB / 0.9552 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3949, allocations: 4 kB / 0.9552 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3949, allocations: 0 / 0.9552 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3949, allocations: 0 / 0.9552 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.395, allocations: 77.06 kB / 0.9553 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.3951, allocations: 84.95 kB / 0.9554 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3951, allocations: 3.984 kB / 0.9554 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.3952, allocations: 4 kB / 0.9554 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.3952, allocations: 0 / 0.9554 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3952, allocations: 7.938 kB / 0.9554 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.3953, allocations: 91.58 kB / 0.9555 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3953, allocations: 0 / 0.9555 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002377/0.3956, allocations: 28 kB / 0.9555 GB, free: 2.863 MB / 0.7325 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.000261/0.3958, allocations: 131.1 kB / 0.9556 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.3959, allocations: 23.92 kB / 0.9557 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.396, allocations: 0 / 0.9557 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/0.396, allocations: 8 kB / 0.9557 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.3962, allocations: 10.11 kB / 0.9557 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.3966, allocations: 147.8 kB / 0.9558 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.397, allocations: 0.6805 MB / 0.9565 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.397, allocations: 11.44 kB / 0.9565 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3971, allocations: 0 / 0.9565 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of Templates: time 0.002867/0.3999, allocations: 0.7261 MB / 0.9572 GB, free: 1.066 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches