Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 105.3 kB / 16.36 MB, free: 5.828 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.001516/0.001516, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.02 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2707, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001727/0.2725, allocations: 0.5859 MB / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.2728, allocations: 103.7 kB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.2728, allocations: 0 / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.2729, allocations: 0 / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.2729, allocations: 3.984 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.2732, allocations: 19.92 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.2732, allocations: 7.938 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.2733, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.2733, allocations: 7.984 kB / 0.9518 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.2734, allocations: 4 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2734, allocations: 0 / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.2735, allocations: 15.98 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.2735, allocations: 3.984 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.2735, allocations: 7.938 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.388e-05/0.2736, allocations: 11.98 kB / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2736, allocations: 0 / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2736, allocations: 0 / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.2736, allocations: 0 / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003198/0.2739, allocations: 323.6 kB / 0.9522 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.274, allocations: 12.03 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.2742, allocations: 12.83 kB / 0.9522 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2743, allocations: 164.3 kB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2743, allocations: 384 / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.2743, allocations: 4.375 kB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.2744, allocations: 38.25 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2745, allocations: 192 / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2745, allocations: 3.938 kB / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2745, allocations: 0 / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.2746, allocations: 15.98 kB / 0.9524 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.2747, allocations: 161.7 kB / 0.9526 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.2749, allocations: 50.59 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.275, allocations: 8.859 kB / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.275, allocations: 4 kB / 0.9526 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.275, allocations: 30.56 kB / 0.9527 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.275, allocations: 0 / 0.9527 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002534/0.2753, allocations: 61.61 kB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2754, allocations: 59.28 kB / 0.9528 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.835e-05/0.2754, allocations: 89.86 kB / 0.9529 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2754, allocations: 25.7 kB / 0.9529 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.2755, allocations: 80.14 kB / 0.953 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.2755, allocations: 15.84 kB / 0.953 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.2756, allocations: 21.7 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2757, allocations: 310.8 kB / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.2757, allocations: 7.938 kB / 0.9533 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.2758, allocations: 11.98 kB / 0.9533 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.147e-05/0.2759, allocations: 20.84 kB / 0.9533 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2759, allocations: 0 / 0.9533 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001057/0.276, allocations: 49.97 kB / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.276, allocations: 4 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.276, allocations: 4 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2761, allocations: 7.922 kB / 0.9534 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.2764, allocations: 47.91 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.2778, allocations: 1.393 MB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.2778, allocations: 8.016 kB / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2778, allocations: 0 / 0.9548 GB, free: 3.855 MB / 0.7325 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.878e-05/0.2779, allocations: 121.3 kB / 0.9549 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.278, allocations: 4 kB / 0.9549 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.278, allocations: 7.5 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.278, allocations: 0 / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.278, allocations: 0 / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.278, allocations: 0 / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2781, allocations: 157.5 kB / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2781, allocations: 0 / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.2785, allocations: 51.92 kB / 0.9551 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2785, allocations: 0 / 0.9551 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.2785, allocations: 0 / 0.9551 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.2797, allocations: 1.406 MB / 0.9565 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2797, allocations: 0 / 0.9565 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.2799, allocations: 81.03 kB / 0.9566 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.2799, allocations: 81.11 kB / 0.9567 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.2799, allocations: 3.938 kB / 0.9567 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.888e-05/0.28, allocations: 3.984 kB / 0.9567 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.28, allocations: 8 kB / 0.9567 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.28, allocations: 4 kB / 0.9567 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.799e-05/0.28, allocations: 79.28 kB / 0.9568 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.28, allocations: 3.938 kB / 0.9568 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000194/0.2802, allocations: 4 kB / 0.9568 GB, free: 1.621 MB / 0.7325 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.2804, allocations: 95.25 kB / 0.9569 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.2808, allocations: 67.91 kB / 0.9569 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2808, allocations: 0 / 0.9569 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.281, allocations: 31.95 kB / 0.957 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2812, allocations: 6.031 kB / 0.957 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.2815, allocations: 110.5 kB / 0.9571 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.2818, allocations: 0.669 MB / 0.9577 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.2818, allocations: 7.984 kB / 0.9577 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.2819, allocations: 7.438 kB / 0.9577 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2819, allocations: 0 / 0.9577 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of Templates: time 0.002379/0.2842, allocations: 412.5 kB / 0.9581 GB, free: 176 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches