Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001375/0.001375, allocations: 107 kB / 15.99 MB, free: 5.895 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.001318/0.001318, allocations: 188.4 kB / 16.91 MB, free: 5.746 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.679/2.679, allocations: 469.8 MB / 0.7427 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 73.64 kB / 0.9087 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3463, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001872/0.3482, allocations: 0.664 MB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002922/0.3485, allocations: 87.8 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.3486, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.3486, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.3486, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.3488, allocations: 23.91 kB / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.576e-05/0.3489, allocations: 12 kB / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.349, allocations: 3.984 kB / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.349, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.3491, allocations: 7.938 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.3491, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.41e-05/0.3491, allocations: 15.98 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.3491, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.3492, allocations: 3.984 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.532e-05/0.3492, allocations: 7.984 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3492, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3493, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3493, allocations: 8 kB / 1.065 GB, free: 14.23 MB / 0.8419 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.0004076/0.3497, allocations: 323.6 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3497, allocations: 8.031 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.3499, allocations: 12.92 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.35, allocations: 160.4 kB / 1.065 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3501, allocations: 384 / 1.065 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.3501, allocations: 384 / 1.065 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3502, allocations: 46.19 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3503, allocations: 4.188 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3503, allocations: 3.938 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3503, allocations: 3.938 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.512e-05/0.3504, allocations: 19.97 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.3506, allocations: 141.7 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3507, allocations: 50.59 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.3508, allocations: 8.922 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3508, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.3509, allocations: 38.5 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3509, allocations: 3.938 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002187/0.3511, allocations: 61.61 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3511, allocations: 51.41 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.3512, allocations: 93.86 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3512, allocations: 25.7 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.3513, allocations: 80.14 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.3513, allocations: 12.11 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.3513, allocations: 17.72 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3515, allocations: 310.8 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.3515, allocations: 7.984 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.3516, allocations: 8 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/0.3517, allocations: 33.05 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3517, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001154/0.3518, allocations: 53.59 kB / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3518, allocations: 5.875 kB / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3518, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3519, allocations: 3.938 kB / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.3522, allocations: 47.92 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.3538, allocations: 1.397 MB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.3538, allocations: 8 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3538, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8419 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.903e-05/0.3539, allocations: 113.8 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-06/0.3539, allocations: 0 / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.575e-05/0.354, allocations: 7.5 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.354, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-07/0.354, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.354, allocations: 4 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.3541, allocations: 149.6 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3542, allocations: 4 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.3545, allocations: 59.8 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3545, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3546, allocations: 4 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.356, allocations: 1.404 MB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.356, allocations: 3.984 kB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.3561, allocations: 77.19 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.3562, allocations: 77.11 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3562, allocations: 7.922 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.3562, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.3563, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.3563, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.3563, allocations: 75.28 kB / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3563, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001971/0.3565, allocations: 7.938 kB / 1.07 GB, free: 8.629 MB / 0.8419 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.0001356/0.3567, allocations: 103.2 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.3572, allocations: 63.84 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3572, allocations: 4 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.3576, allocations: 51.92 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.3577, allocations: 8 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.3581, allocations: 122.5 kB / 1.07 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3585, allocations: 0.6768 MB / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.3585, allocations: 7.438 kB / 1.071 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.3585, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of Templates: time 0.002251/0.3608, allocations: 0.6012 MB / 1.071 GB, free: 6.926 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches