Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001038/0.001038, allocations: 107.8 kB / 16.36 MB, free: 6.285 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.001052/0.001052, allocations: 193.5 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 76.38 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3005, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002405/0.303, allocations: 1.26 MB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002905/0.3033, allocations: 123.5 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.3033, allocations: 0 / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.3034, allocations: 0 / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.3035, allocations: 7.875 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.3037, allocations: 43.88 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.683e-05/0.3038, allocations: 11.94 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.3038, allocations: 3.938 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.3038, allocations: 7.984 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.3039, allocations: 12 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.3039, allocations: 0 / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3041, allocations: 47.94 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.3041, allocations: 7.938 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.3041, allocations: 7.984 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3042, allocations: 35.89 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3043, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3043, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3043, allocations: 0 / 1.02 GB, free: 8.27 MB / 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.0004311/0.3047, allocations: 339.4 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3048, allocations: 8.922 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3048, allocations: 0.9375 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.305, allocations: 172.3 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.305, allocations: 384 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.305, allocations: 384 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3051, allocations: 37.81 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3051, allocations: 0 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.3051, allocations: 0 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3051, allocations: 4 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.351e-05/0.3052, allocations: 8 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.3054, allocations: 153.6 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.3054, allocations: 26.55 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.3054, allocations: 8.922 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007559/0.3062, allocations: 0.6091 MB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3062, allocations: 38.5 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3063, allocations: 0 / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001641/0.3064, allocations: 37.69 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.3065, allocations: 55.41 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.3066, allocations: 97.86 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.3066, allocations: 25.7 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.3066, allocations: 80.14 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3067, allocations: 7.969 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3067, allocations: 25.7 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3069, allocations: 310.8 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.3069, allocations: 4 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.3069, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.3069, allocations: 12.86 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3069, allocations: 11.88 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.039e-05/0.307, allocations: 45.72 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.307, allocations: 8 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.307, allocations: 0 / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3071, allocations: 0 / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.3071, allocations: 7.938 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3071, allocations: 0 / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.3071, allocations: 0 / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3071, allocations: 4 kB / 1.022 GB, free: 5.809 MB / 0.795 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.842e-05/0.3072, allocations: 105.8 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.3072, allocations: 3.938 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.265e-05/0.3073, allocations: 48.81 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3073, allocations: 0 / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3074, allocations: 4 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3074, allocations: 0 / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.3075, allocations: 161.6 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3075, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.3075, allocations: 7.938 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3075, allocations: 4 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.3075, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3075, allocations: 3.938 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3076, allocations: 4.031 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.3076, allocations: 61.12 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3077, allocations: 88.95 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.3077, allocations: 0 / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.3077, allocations: 0 / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.3077, allocations: 3.984 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3078, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.3078, allocations: 83.5 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3078, allocations: 0 / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000204/0.308, allocations: 20 kB / 1.023 GB, free: 5.117 MB / 0.795 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.0001528/0.3082, allocations: 107.2 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.634e-05/0.3083, allocations: 11.94 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3083, allocations: 0 / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.3083, allocations: 4 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.3085, allocations: 20.19 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.3087, allocations: 110.1 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.309, allocations: 0.6729 MB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.309, allocations: 7.969 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.309, allocations: 15.38 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.309, allocations: 0 / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of Templates: time 0.002609/0.3116, allocations: 0.5945 MB / 1.024 GB, free: 3.523 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches