Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_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_9_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.001523/0.001523, allocations: 115.2 kB / 16.37 MB, free: 6.434 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.001729/0.001729, allocations: 197.1 kB / 17.31 MB, free: 5.777 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 69.77 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002558/0.2742, allocations: 1.259 MB / 0.9524 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002867/0.2745, allocations: 127.5 kB / 0.9525 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.2746, allocations: 0 / 0.9525 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.2746, allocations: 0 / 0.9525 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.2747, allocations: 7.938 kB / 0.9525 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2749, allocations: 43.89 kB / 0.9525 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.275, allocations: 19.91 kB / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.2751, allocations: 0 / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.2751, allocations: 7.938 kB / 0.9526 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.2752, allocations: 4 kB / 0.9526 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2752, allocations: 3.938 kB / 0.9526 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.2753, allocations: 51.94 kB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.2753, allocations: 0 / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2754, allocations: 11.94 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.2755, allocations: 43.92 kB / 0.9527 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2755, allocations: 0 / 0.9527 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2755, allocations: 0 / 0.9527 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2755, allocations: 0 / 0.9527 GB, free: 6.5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004546/0.276, allocations: 331.4 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.276, allocations: 12.03 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.2761, allocations: 4.938 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.2762, allocations: 164.3 kB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2762, allocations: 384 / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.2763, allocations: 12.31 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.031e-05/0.2763, allocations: 33.81 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2764, allocations: 4 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.2764, allocations: 0 / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2764, allocations: 0 / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.573e-05/0.2764, allocations: 4 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.2766, allocations: 149.7 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.818e-05/0.2767, allocations: 30.55 kB / 0.9534 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.2767, allocations: 8.859 kB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007767/0.2775, allocations: 0.6013 MB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.2775, allocations: 38.48 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.2775, allocations: 0 / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001622/0.2777, allocations: 45.61 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.2778, allocations: 51.53 kB / 0.9541 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.2778, allocations: 109.8 kB / 0.9542 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2779, allocations: 29.64 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.2779, allocations: 80.14 kB / 0.9543 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.2779, allocations: 7.906 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.278, allocations: 13.72 kB / 0.9543 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2781, allocations: 310.8 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.2781, allocations: 4 kB / 0.9546 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.2781, allocations: 7.984 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.2782, allocations: 16.92 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2782, allocations: 0 / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.176e-05/0.2783, allocations: 37.64 kB / 0.9547 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2783, allocations: 4 kB / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2783, allocations: 4 kB / 0.9547 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2783, allocations: 0 / 0.9547 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.688e-05/0.2784, allocations: 7.938 kB / 0.9547 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.2784, allocations: 7.938 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.2784, allocations: 8.016 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.2784, allocations: 0 / 0.9547 GB, free: 4.039 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 (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 8.297e-05/0.2785, allocations: 113.3 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.2785, allocations: 7.938 kB / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.2786, allocations: 44.81 kB / 0.9549 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2787, allocations: 3.938 kB / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2787, allocations: 0 / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2787, allocations: 0 / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.2788, allocations: 153.6 kB / 0.955 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2788, allocations: 4.031 kB / 0.955 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.2789, allocations: 7.938 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2789, allocations: 0 / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2789, allocations: 7.938 kB / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2789, allocations: 0 / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2789, allocations: 0 / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.793e-05/0.279, allocations: 67.23 kB / 0.9551 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.279, allocations: 84.95 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.279, allocations: 4.031 kB / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.666e-05/0.2791, allocations: 0 / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.2791, allocations: 0 / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.2791, allocations: 4 kB / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.2791, allocations: 75.28 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.2791, allocations: 0 / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002262/0.2794, allocations: 15.98 kB / 0.9553 GB, free: 3.359 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 (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.000209/0.2796, allocations: 115.2 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.2797, allocations: 19.92 kB / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2797, allocations: 0 / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.2797, allocations: 4 kB / 0.9554 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.28, allocations: 4 kB / 0.9554 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.2803, allocations: 110.1 kB / 0.9555 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.2805, allocations: 0.6805 MB / 0.9562 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.2806, allocations: 12.11 kB / 0.9562 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.2806, allocations: 7.438 kB / 0.9562 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.2806, allocations: 0 / 0.9562 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of Templates: time 0.002841/0.2835, allocations: 0.5938 MB / 0.9568 GB, free: 1.762 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches