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.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.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.001185/0.001185, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001414/0.001414, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.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.571/2.571, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.000391, allocations: 16 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7378, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001354/0.7392, allocations: 1.013 MB / 0.9554 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000509/0.7398, allocations: 273.5 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.7398, allocations: 0 / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.7398, allocations: 3.938 kB / 0.9557 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.7399, allocations: 14.11 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.7402, allocations: 56.78 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.54e-05/0.7403, allocations: 28.05 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.7403, allocations: 0.875 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.7404, allocations: 32.64 kB / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.7405, allocations: 9.578 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.7405, allocations: 0.9062 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.7407, allocations: 79.14 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.7407, allocations: 9.281 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.7407, allocations: 31.78 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.7408, allocations: 49.03 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7409, allocations: 1.531 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7409, allocations: 4 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7409, allocations: 0 / 0.956 GB, free: 6.473 MB / 0.7169 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.0003138/0.7412, allocations: 343.1 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.7412, allocations: 13.12 kB / 0.9563 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.7413, allocations: 10.27 kB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.083e-05/0.7414, allocations: 169.4 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.7414, allocations: 0.9062 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.7414, allocations: 4.891 kB / 0.9565 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.575e-05/0.7415, allocations: 43.2 kB / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.7415, allocations: 0 / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.7416, allocations: 0.9062 kB / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7416, allocations: 5.016 kB / 0.9566 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.7416, allocations: 9.859 kB / 0.9566 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.7417, allocations: 159.8 kB / 0.9567 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.193e-05/0.7418, allocations: 34.14 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.7419, allocations: 12.95 kB / 0.9568 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008106/0.7427, allocations: 1.189 MB / 0.9579 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.7427, allocations: 31.69 kB / 0.958 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.7427, allocations: 4 kB / 0.958 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001444/0.7429, allocations: 52.25 kB / 0.958 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.7429, allocations: 51.41 kB / 0.9581 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.743, allocations: 114.8 kB / 0.9582 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.743, allocations: 26.73 kB / 0.9582 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/0.743, allocations: 80.14 kB / 0.9583 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.743, allocations: 5.875 kB / 0.9583 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.743, allocations: 0 / 0.9583 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.7431, allocations: 331.6 kB / 0.9586 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.7431, allocations: 7 kB / 0.9586 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.7431, allocations: 3.125 kB / 0.9586 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.961e-05/0.7431, allocations: 4.281 kB / 0.9586 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7431, allocations: 0 / 0.9586 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.285e-05/0.7432, allocations: 45.47 kB / 0.9586 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7432, allocations: 6.125 kB / 0.9586 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7432, allocations: 0 / 0.9586 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.7432, allocations: 1.031 kB / 0.9586 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.7433, allocations: 9.156 kB / 0.9587 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.7433, allocations: 4.312 kB / 0.9587 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.7433, allocations: 0 / 0.9587 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.7433, allocations: 1.438 kB / 0.9587 GB, free: 3.469 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.7434, allocations: 124.6 kB / 0.9588 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.7434, allocations: 5.281 kB / 0.9588 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.7435, allocations: 60.64 kB / 0.9588 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7436, allocations: 4.375 kB / 0.9588 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7436, allocations: 0 / 0.9588 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7436, allocations: 0.9375 kB / 0.9589 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.158e-05/0.7437, allocations: 167.7 kB / 0.959 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7437, allocations: 3.984 kB / 0.959 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.7437, allocations: 9.453 kB / 0.959 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.7437, allocations: 0 / 0.959 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.7437, allocations: 0.7812 kB / 0.959 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7437, allocations: 1.094 kB / 0.959 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7437, allocations: 0 / 0.959 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.308e-05/0.7438, allocations: 79.23 kB / 0.9591 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.7439, allocations: 91.75 kB / 0.9592 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.7439, allocations: 1.344 kB / 0.9592 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.7439, allocations: 0 / 0.9592 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.7439, allocations: 2.719 kB / 0.9592 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.7439, allocations: 1.156 kB / 0.9592 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.744, allocations: 89.02 kB / 0.9593 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.744, allocations: 0 / 0.9593 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002233/0.7442, allocations: 27.44 kB / 0.9593 GB, free: 2.781 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.7444, allocations: 128.4 kB / 0.9594 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.968e-05/0.7445, allocations: 22.23 kB / 0.9594 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7445, allocations: 0 / 0.9594 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.7445, allocations: 6.375 kB / 0.9595 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.7447, allocations: 7.719 kB / 0.9595 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.745, allocations: 134.6 kB / 0.9596 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.7451, allocations: 0.6785 MB / 0.9603 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.7451, allocations: 4.562 kB / 0.9603 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.7451, allocations: 13.06 kB / 0.9603 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7451, allocations: 0 / 0.9603 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.002843/0.748, allocations: 0.7588 MB / 0.961 GB, free: 1.426 MB / 0.7169 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/jenkins/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