Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_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_latest_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.0009112/0.0009112, allocations: 92.47 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 177.8 kB / 16.92 MB, free: 6.652 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.757/2.757, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 10.31 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3426, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008249/0.3435, allocations: 326.9 kB / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003606/0.3439, allocations: 99.66 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.3439, allocations: 0 / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.3439, allocations: 0 / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.344, allocations: 0 / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.3442, allocations: 8 kB / 1.06 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.3443, allocations: 15.92 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.3443, allocations: 0 / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.229e-05/0.3443, allocations: 8 kB / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.3444, allocations: 3.984 kB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3444, allocations: 4 kB / 1.06 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.3445, allocations: 11.98 kB / 1.06 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.3445, allocations: 3.938 kB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.3446, allocations: 29.7 kB / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.313e-05/0.3447, allocations: 11.98 kB / 1.06 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3447, allocations: 0 / 1.06 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3447, allocations: 0 / 1.06 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3447, allocations: 0 / 1.06 GB, free: 4.43 MB / 0.8106 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.0003572/0.3451, allocations: 327.5 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.3452, allocations: 8.031 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.3454, allocations: 8.922 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3455, allocations: 164.4 kB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3456, allocations: 384 / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3456, allocations: 384 / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3457, allocations: 42.23 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3457, allocations: 192 / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3458, allocations: 11.94 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3458, allocations: 0 / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.3459, allocations: 19.97 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.3461, allocations: 145.7 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.3463, allocations: 50.53 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.3464, allocations: 12.92 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3464, allocations: 0 / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.3464, allocations: 38.5 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.3464, allocations: 0 / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002296/0.3467, allocations: 65.55 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3467, allocations: 55.41 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.584e-05/0.3468, allocations: 89.86 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3468, allocations: 29.7 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.3468, allocations: 80.14 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.3469, allocations: 12.11 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.3469, allocations: 13.72 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3471, allocations: 314.8 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.3471, allocations: 4 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.3471, allocations: 7.984 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.455e-05/0.3472, allocations: 20.84 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3472, allocations: 4 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001167/0.3474, allocations: 49.62 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3474, allocations: 7.938 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3474, allocations: 0 / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3474, allocations: 3.938 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.3478, allocations: 47.92 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3493, allocations: 1.314 MB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.3493, allocations: 0 / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3494, allocations: 0 / 1.063 GB, free: 1.16 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 (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 9.143e-05/0.3495, allocations: 109.9 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.3495, allocations: 8.031 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.3495, allocations: 11.48 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3495, allocations: 0 / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.3495, allocations: 0 / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3495, allocations: 4 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.3496, allocations: 153.5 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3496, allocations: 3.984 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.35, allocations: 47.94 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.35, allocations: 0 / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.35, allocations: 4 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.3512, allocations: 1.31 MB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3512, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.3514, allocations: 73.22 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.3515, allocations: 88.95 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.3515, allocations: 3.984 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.3515, allocations: 4 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.3515, allocations: 4 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.3515, allocations: 3.938 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.92e-05/0.3516, allocations: 75.28 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3516, allocations: 4 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001952/0.3518, allocations: 4 kB / 1.065 GB, free: 15.03 MB / 0.8262 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.0001481/0.3519, allocations: 101.7 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.3524, allocations: 63.91 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3524, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.3528, allocations: 51.92 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.353, allocations: 4 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.3533, allocations: 121.2 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3536, allocations: 0.677 MB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.3536, allocations: 11.44 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3536, allocations: 0 / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of Templates: time 0.002324/0.356, allocations: 0.5997 MB / 1.066 GB, free: 13.34 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches