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.001585/0.001585, allocations: 104.8 kB / 16.37 MB, free: 6.457 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.001588/0.001588, allocations: 195.8 kB / 17.31 MB, free: 5.812 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 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.179/2.179, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.95 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2714, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002615/0.274, allocations: 1.294 MB / 0.9524 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005281/0.2746, allocations: 313 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.2746, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.2746, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.737e-05/0.2747, allocations: 11.91 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.275, allocations: 71.72 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.2751, allocations: 43.78 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.2752, allocations: 8 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.2752, allocations: 15.98 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.2753, allocations: 11.92 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.2753, allocations: 4 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2755, allocations: 83.91 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.2755, allocations: 7.938 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.2755, allocations: 15.92 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.2757, allocations: 79.78 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2757, allocations: 3.938 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2757, allocations: 0 / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2757, allocations: 0 / 0.953 GB, free: 6.082 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.0003818/0.2761, allocations: 355.3 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2761, allocations: 8.031 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.2762, allocations: 8.938 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.2763, allocations: 164.3 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.2763, allocations: 384 / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.2763, allocations: 4.375 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.408e-05/0.2764, allocations: 41.81 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2764, allocations: 0 / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2765, allocations: 0 / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2765, allocations: 4 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.2765, allocations: 7.984 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.2767, allocations: 169.7 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.387e-05/0.2768, allocations: 30.64 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.2768, allocations: 8.859 kB / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.2779, allocations: 1.187 MB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.2779, allocations: 34.5 kB / 0.955 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2779, allocations: 0 / 0.955 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001452/0.2781, allocations: 57.61 kB / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.2781, allocations: 51.41 kB / 0.9551 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.2782, allocations: 117.8 kB / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2782, allocations: 25.7 kB / 0.9552 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.2782, allocations: 84.14 kB / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2783, allocations: 15.73 kB / 0.9553 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.2783, allocations: 17.72 kB / 0.9553 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.2784, allocations: 314.8 kB / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.2784, allocations: 0 / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.2784, allocations: 7.984 kB / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.2785, allocations: 16.86 kB / 0.9557 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2785, allocations: 0 / 0.9557 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.023e-05/0.2785, allocations: 53.56 kB / 0.9557 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2786, allocations: 8 kB / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2786, allocations: 0 / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2786, allocations: 4 kB / 0.9557 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.2786, allocations: 4 kB / 0.9557 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2787, allocations: 0 / 0.9557 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.2787, allocations: 0 / 0.9557 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.2787, allocations: 0 / 0.9557 GB, free: 2.832 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 6.781e-05/0.2788, allocations: 115.8 kB / 0.9558 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.2788, allocations: 7.844 kB / 0.9558 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.2789, allocations: 65.52 kB / 0.9559 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2789, allocations: 0 / 0.9559 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2789, allocations: 0 / 0.9559 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2789, allocations: 0 / 0.9559 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.279, allocations: 161.7 kB / 0.9561 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2791, allocations: 0 / 0.9561 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.2791, allocations: 7.938 kB / 0.9561 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2791, allocations: 0 / 0.9561 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2791, allocations: 15.98 kB / 0.9561 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2791, allocations: 0 / 0.9561 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2791, allocations: 3.938 kB / 0.9561 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.363e-05/0.2792, allocations: 65.12 kB / 0.9562 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.2793, allocations: 88.95 kB / 0.9562 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.2793, allocations: 0 / 0.9562 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.13e-05/0.2793, allocations: 7.938 kB / 0.9562 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.2794, allocations: 7.984 kB / 0.9563 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.2794, allocations: 4 kB / 0.9563 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.2794, allocations: 83.28 kB / 0.9563 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2794, allocations: 0 / 0.9563 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002221/0.2797, allocations: 31.98 kB / 0.9564 GB, free: 2.07 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.0001806/0.2798, allocations: 127.6 kB / 0.9565 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.19e-05/0.2799, allocations: 16 kB / 0.9565 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2799, allocations: 3.938 kB / 0.9565 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.28, allocations: 16.02 kB / 0.9565 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.2802, allocations: 10.22 kB / 0.9565 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.2804, allocations: 126.1 kB / 0.9567 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2807, allocations: 0.6844 MB / 0.9573 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.2807, allocations: 8.547 kB / 0.9573 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.2807, allocations: 11.44 kB / 0.9573 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2807, allocations: 0 / 0.9573 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of Templates: time 0.003019/0.2837, allocations: 0.7818 MB / 0.9581 GB, free: 244 kB / 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 -s cvode -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