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.001427/0.001428, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001598/0.001599, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.393/2.393, allocations: 442.5 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 68.5 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2903, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002747/0.2931, allocations: 1.263 MB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.2934, allocations: 122 kB / 1.028 GB, free: 0.668 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.2935, allocations: 3.938 kB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2935, allocations: 3.938 kB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.2936, allocations: 4 kB / 1.028 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.2939, allocations: 39.88 kB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.294, allocations: 19.88 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.294, allocations: 7.938 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.294, allocations: 0 / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.2941, allocations: 7.984 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2941, allocations: 0 / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.2943, allocations: 51.94 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2943, allocations: 3.938 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.2943, allocations: 12 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.2945, allocations: 43.88 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2945, allocations: 0 / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2945, allocations: 0 / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.2945, allocations: 0 / 1.028 GB, free: 484 kB / 0.795 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.0005021/0.295, allocations: 323.5 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2951, allocations: 12.03 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.2951, allocations: 4.938 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2953, allocations: 168.3 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.2953, allocations: 8.375 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.2953, allocations: 384 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.058e-05/0.2954, allocations: 33.83 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2954, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2954, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2954, allocations: 3.938 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.688e-05/0.2955, allocations: 4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.2957, allocations: 153.7 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.505e-05/0.2958, allocations: 26.58 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.2958, allocations: 8.922 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007831/0.2966, allocations: 0.6012 MB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2966, allocations: 34.5 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2966, allocations: 4 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.2968, allocations: 45.62 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.2969, allocations: 55.53 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.297, allocations: 97.86 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.297, allocations: 25.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.2971, allocations: 80.14 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.2971, allocations: 7.906 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.2971, allocations: 17.7 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2972, allocations: 314.8 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.2973, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.2973, allocations: 15.88 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.2973, allocations: 20.8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2973, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7e-05/0.2974, allocations: 41.62 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2974, allocations: 10.81 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2974, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2975, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.2975, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2975, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.2976, allocations: 4.094 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.2976, allocations: 0 / 1.03 GB, free: 14.03 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 7.135e-05/0.2976, allocations: 113.8 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2977, allocations: 7.938 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.971e-05/0.2978, allocations: 48.75 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2978, allocations: 0 / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2978, allocations: 0 / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2978, allocations: 0 / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.2979, allocations: 157.6 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2979, allocations: 192 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.2979, allocations: 7.938 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2979, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.298, allocations: 7.984 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.298, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.298, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.2981, allocations: 72.97 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.2981, allocations: 85.08 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.2981, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/0.2981, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.2982, allocations: 7.984 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2982, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.2982, allocations: 79.28 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2982, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002382/0.2985, allocations: 16 kB / 1.031 GB, free: 13.33 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.00023/0.2987, allocations: 119.2 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.05e-05/0.2988, allocations: 8 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2988, allocations: 3.938 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.2988, allocations: 7.938 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2991, allocations: 7.984 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.2993, allocations: 102.1 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.2997, allocations: 0.6807 MB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.2997, allocations: 8 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.2997, allocations: 7.438 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2997, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of Templates: time 0.002834/0.3026, allocations: 0.5996 MB / 1.032 GB, free: 11.73 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 -s gbode -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