Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001632/0.001633, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.615/1.615, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.128/3.128, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.45 kB / 0.899 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4046, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003513/0.4082, allocations: 1.316 MB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004493/0.4087, allocations: 127.6 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.4087, allocations: 3.938 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.4087, allocations: 0 / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.77e-05/0.4089, allocations: 7.938 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.4091, allocations: 31.89 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.4092, allocations: 7.938 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.4093, allocations: 11.98 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.4093, allocations: 7.938 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.4094, allocations: 8 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.4094, allocations: 0 / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.4096, allocations: 51.94 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.4096, allocations: 8 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.4096, allocations: 7.922 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.4097, allocations: 19.97 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4097, allocations: 0 / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4098, allocations: 0 / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4098, allocations: 0 / 1.054 GB, free: 6.695 MB / 0.8106 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.0005188/0.4103, allocations: 343.7 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4103, allocations: 11.97 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.4104, allocations: 0.9375 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.4106, allocations: 164.4 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4106, allocations: 4.375 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.4106, allocations: 384 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.4107, allocations: 37.83 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4108, allocations: 7.922 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.4108, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4108, allocations: 7.938 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.397e-05/0.4109, allocations: 7.984 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.4111, allocations: 153.6 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.414e-05/0.4111, allocations: 22.56 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.4112, allocations: 8.922 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008542/0.412, allocations: 0.6013 MB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4121, allocations: 42.5 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4121, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.4123, allocations: 45.62 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4123, allocations: 51.41 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4124, allocations: 97.84 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.4125, allocations: 25.7 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.4125, allocations: 84.14 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.4126, allocations: 12.03 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.4126, allocations: 13.72 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4128, allocations: 310.8 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.4128, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.4128, allocations: 11.94 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.4128, allocations: 16.78 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4129, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.924e-05/0.4129, allocations: 45.7 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.413, allocations: 9.562 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.413, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.413, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.4131, allocations: 4 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4131, allocations: 0 / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.4131, allocations: 0 / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.4131, allocations: 0 / 1.056 GB, free: 4.234 MB / 0.8106 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 0.0001021/0.4132, allocations: 113.8 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.4133, allocations: 3.938 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.4134, allocations: 52.78 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4134, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4134, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4134, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.4136, allocations: 157.6 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4136, allocations: 3.938 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.4136, allocations: 11.92 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4136, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4136, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4136, allocations: 32 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4137, allocations: 11.98 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.304e-05/0.4137, allocations: 61.08 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.4138, allocations: 88.94 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.4138, allocations: 0 / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.4139, allocations: 4 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.4139, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4139, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.4139, allocations: 87.31 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.414, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002413/0.4142, allocations: 15.98 kB / 1.057 GB, free: 3.535 MB / 0.8106 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.0002079/0.4144, allocations: 111.6 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.4145, allocations: 8 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4145, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.4146, allocations: 11.92 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.4149, allocations: 17.78 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.4152, allocations: 133.5 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.4155, allocations: 0.677 MB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.4155, allocations: 11.42 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.4156, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.002296/0.4179, allocations: 0.5932 MB / 1.058 GB, free: 1.906 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches