Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005254/0.005254, allocations: 97.84 kB / 15.73 MB, free: 5.953 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.001315/0.001315, allocations: 196.9 kB / 16.68 MB, free: 5.875 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.511/2.511, allocations: 469.8 MB / 0.7425 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 71.83 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7939, allocations: 159.1 MB / 1.221 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002192/0.7961, allocations: 1.253 MB / 1.222 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002768/0.7964, allocations: 119.6 kB / 1.222 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.7964, allocations: 3.938 kB / 1.222 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.7964, allocations: 4 kB / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.7965, allocations: 3.984 kB / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.7967, allocations: 43.78 kB / 1.222 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.099e-05/0.7967, allocations: 11.92 kB / 1.222 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.7968, allocations: 4 kB / 1.222 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.006e-05/0.7968, allocations: 11.94 kB / 1.222 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.7969, allocations: 7.984 kB / 1.222 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.7969, allocations: 0 / 1.222 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.797, allocations: 51.94 kB / 1.222 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.797, allocations: 0 / 1.222 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.797, allocations: 7.938 kB / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.7971, allocations: 35.47 kB / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7971, allocations: 0 / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7971, allocations: 0 / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.7971, allocations: 3.938 kB / 1.222 GB, free: 0.5586 MB / 0.9356 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.0003633/0.7975, allocations: 332.4 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.7975, allocations: 16.02 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.7976, allocations: 0.9375 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.7977, allocations: 168.3 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.7977, allocations: 4.375 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.7977, allocations: 384 / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.721e-05/0.7978, allocations: 41.58 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.7978, allocations: 0 / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.7978, allocations: 4 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7978, allocations: 3.984 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.7978, allocations: 4 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.798, allocations: 149.7 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.836e-05/0.798, allocations: 22.56 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.7981, allocations: 4.859 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006911/0.7988, allocations: 0.6168 MB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.7988, allocations: 30.56 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.7988, allocations: 0 / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.7989, allocations: 45.69 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.799, allocations: 55.34 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.799, allocations: 93.86 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.799, allocations: 29.69 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.7991, allocations: 80.27 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.7991, allocations: 15.95 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.7991, allocations: 9.719 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.7992, allocations: 310.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.7992, allocations: 4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/0.7992, allocations: 15.94 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.7993, allocations: 16.84 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7993, allocations: 0 / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.783e-05/0.7993, allocations: 45.7 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.7993, allocations: 4 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.7994, allocations: 0 / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.7994, allocations: 4 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.7994, allocations: 3.938 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.7994, allocations: 4 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.7994, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.7994, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9512 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 6.418e-05/0.7995, allocations: 117.7 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.7995, allocations: 11.97 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.7996, allocations: 44.81 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7996, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.7996, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.7996, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.436e-05/0.7997, allocations: 153.6 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7997, allocations: 3.938 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.7997, allocations: 8.172 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7997, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-06/0.7997, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7997, allocations: 4.031 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7997, allocations: 3.984 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.687e-05/0.7998, allocations: 65.08 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.7999, allocations: 85.03 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.7999, allocations: 0 / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.718e-05/0.7999, allocations: 0 / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.7999, allocations: 0 / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.7999, allocations: 8.031 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.7999, allocations: 79.28 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.7999, allocations: 0 / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002017/0.8001, allocations: 19.92 kB / 1.225 GB, free: 13.41 MB / 0.9512 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.000151/0.8003, allocations: 111.2 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.969e-05/0.8004, allocations: 11.88 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8004, allocations: 4 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.8004, allocations: 8.047 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.8006, allocations: 13.81 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.8009, allocations: 113.9 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.8011, allocations: 0.6729 MB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.8011, allocations: 7.922 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.8011, allocations: 11.44 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.8011, allocations: 4.062 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of Templates: time 0.002553/0.8037, allocations: 0.5941 MB / 1.226 GB, free: 11.8 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches