Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_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_10_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.001251/0.001251, allocations: 111.1 kB / 16.42 MB, free: 6.496 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.001362/0.001362, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 75.84 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.089, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002274/1.092, allocations: 0.5944 MB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004231/1.092, allocations: 87.73 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/1.092, allocations: 4 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/1.092, allocations: 0 / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/1.092, allocations: 0 / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/1.093, allocations: 27.91 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.074e-05/1.093, allocations: 7.938 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.821e-05/1.093, allocations: 3.984 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/1.093, allocations: 4 kB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/1.093, allocations: 4 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/1.093, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/1.093, allocations: 11.98 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/1.093, allocations: 8 kB / 1.168 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/1.093, allocations: 11.92 kB / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/1.093, allocations: 7.984 kB / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.093, allocations: 0 / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.144e-06/1.093, allocations: 0 / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.093, allocations: 0 / 1.168 GB, free: 3.035 MB / 0.8887 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.0005331/1.094, allocations: 323.6 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/1.094, allocations: 8.625 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/1.094, allocations: 12.92 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/1.094, allocations: 164.4 kB / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/1.094, allocations: 4.375 kB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/1.094, allocations: 4.375 kB / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/1.094, allocations: 42.19 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.094, allocations: 192 / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.095, allocations: 3.938 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.095, allocations: 3.938 kB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/1.095, allocations: 15.98 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/1.095, allocations: 153.7 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/1.095, allocations: 38.56 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/1.095, allocations: 20.84 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/1.095, allocations: 0 / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/1.095, allocations: 34.56 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 3.216e-06/1.095, allocations: 0 / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002901/1.095, allocations: 65.55 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/1.096, allocations: 51.41 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/1.096, allocations: 89.86 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/1.096, allocations: 25.7 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/1.096, allocations: 80.14 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/1.096, allocations: 15.61 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/1.096, allocations: 17.72 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.096, allocations: 318.8 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/1.096, allocations: 7.938 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/1.096, allocations: 11.98 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.885e-05/1.096, allocations: 21.12 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.096, allocations: 0 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000116/1.096, allocations: 49.67 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.096, allocations: 8 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.096, allocations: 0 / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/1.096, allocations: 7.938 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/1.097, allocations: 39.94 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/1.098, allocations: 1.404 MB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/1.098, allocations: 4.031 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/1.098, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 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 0.0001116/1.099, allocations: 113.8 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/1.099, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/1.099, allocations: 15.55 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.099, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.099, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/1.099, allocations: 81.05 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-06/1.099, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.935e-05/1.099, allocations: 3.938 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/1.099, allocations: 8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005142/1.099, allocations: 177.7 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002347/1.1, allocations: 229.2 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.398e-05/1.1, allocations: 16.2 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.568e-05/1.1, allocations: 79.28 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of Backend: time 3.8e-07/1.1, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008005/1.1, allocations: 144.2 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007234/1.101, allocations: 0.5525 MB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.003239/1.104, allocations: 0.6201 MB / 1.173 GB, free: 13.52 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches