Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_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_9_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.006858/0.006858, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001515/0.001515, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.39 kB / 0.9508 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3208, allocations: 140.4 MB / 1.088 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002115/0.323, allocations: 1.27 MB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002625/0.3232, allocations: 116 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.3233, allocations: 0 / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.3233, allocations: 0 / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.3234, allocations: 3.938 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.3236, allocations: 35.89 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.3237, allocations: 23.91 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.3237, allocations: 7.938 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.3237, allocations: 7.938 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.3238, allocations: 4 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3238, allocations: 0 / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3239, allocations: 51.94 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.324, allocations: 3.938 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.324, allocations: 4 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.3241, allocations: 43.86 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3241, allocations: 4 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3241, allocations: 4 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3241, allocations: 0 / 1.089 GB, free: 60 kB / 0.8419 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.000366/0.3245, allocations: 331.5 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.3245, allocations: 8.031 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.3246, allocations: 4.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3247, allocations: 164.3 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3247, allocations: 4.312 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3247, allocations: 4.375 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.721e-05/0.3248, allocations: 41.62 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3248, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3248, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3249, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.3249, allocations: 7.938 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.325, allocations: 149.7 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.3251, allocations: 22.61 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.3251, allocations: 12.86 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/0.3258, allocations: 0.6052 MB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3258, allocations: 34.55 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3258, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.326, allocations: 45.64 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.326, allocations: 51.41 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.36e-05/0.3261, allocations: 102 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3261, allocations: 25.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.3262, allocations: 84.14 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.3262, allocations: 7.906 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.3262, allocations: 9.719 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3263, allocations: 310.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.3263, allocations: 8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.3264, allocations: 3.984 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.229e-05/0.3264, allocations: 20.86 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3264, allocations: 3.938 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.59e-05/0.3265, allocations: 41.64 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3265, allocations: 5.562 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3265, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3265, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.393e-05/0.3266, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3266, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.3266, allocations: 11.92 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.3266, allocations: 32 / 1.091 GB, free: 13.61 MB / 0.8575 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 5.741e-05/0.3267, allocations: 109.8 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.3267, allocations: 3.938 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.413e-05/0.3268, allocations: 52.75 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3268, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3268, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3268, allocations: 192 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.557e-05/0.3269, allocations: 153.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3269, allocations: 3.938 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.3269, allocations: 12.02 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3269, allocations: 3.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.327, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.327, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.327, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.146e-05/0.3271, allocations: 72.97 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.3271, allocations: 81.05 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.3271, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.538e-05/0.3271, allocations: 4.031 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.3271, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3272, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.3272, allocations: 79.28 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3272, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001973/0.3274, allocations: 19.98 kB / 1.092 GB, free: 12.91 MB / 0.8575 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.000145/0.3275, allocations: 111.8 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.867e-05/0.3276, allocations: 11.98 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3276, allocations: 4 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.3276, allocations: 11.94 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3279, allocations: 7.875 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.3281, allocations: 106.2 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3284, allocations: 0.6768 MB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.3284, allocations: 8.125 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.3284, allocations: 7.438 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.3284, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of Templates: time 0.002461/0.3309, allocations: 0.5954 MB / 1.094 GB, free: 11.32 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches