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.001496/0.001496, allocations: 105.9 kB / 16.41 MB, free: 6.461 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.001697/0.001697, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.446/2.446, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 59.91 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001749/1.032, allocations: 0.6049 MB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003081/1.032, allocations: 91.72 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/1.032, allocations: 0 / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/1.032, allocations: 0 / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/1.032, allocations: 0 / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/1.032, allocations: 19.92 kB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.568e-05/1.032, allocations: 11.92 kB / 1.168 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/1.032, allocations: 4 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.614e-05/1.032, allocations: 4 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/1.033, allocations: 8 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/1.033, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/1.033, allocations: 11.98 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/1.033, allocations: 7.984 kB / 1.168 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/1.033, allocations: 7.922 kB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.187e-05/1.033, allocations: 11.98 kB / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.033, allocations: 0 / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.483e-06/1.033, allocations: 0 / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.268e-06/1.033, 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.0003878/1.033, allocations: 323.1 kB / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.033, allocations: 12.62 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/1.033, allocations: 12.88 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/1.034, allocations: 164.3 kB / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/1.034, allocations: 384 / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/1.034, allocations: 4.375 kB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/1.034, allocations: 38.25 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/1.034, allocations: 192 / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/1.034, allocations: 7.938 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.034, allocations: 3.938 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.178e-05/1.034, allocations: 15.98 kB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/1.034, allocations: 149.7 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/1.034, allocations: 42.55 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/1.034, allocations: 20.91 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/1.034, allocations: 0 / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/1.034, allocations: 30.56 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 2.605e-06/1.034, allocations: 0 / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002267/1.035, allocations: 65.55 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.035, allocations: 55.34 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.633e-05/1.035, allocations: 89.86 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/1.035, allocations: 25.7 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/1.035, allocations: 84.14 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/1.035, allocations: 8.938 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/1.035, allocations: 17.7 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.035, allocations: 314.8 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-05/1.035, allocations: 4 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/1.035, allocations: 11.98 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.763e-05/1.035, allocations: 25.11 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.035, allocations: 4 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001136/1.035, allocations: 45.69 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.035, allocations: 6.812 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.035, allocations: 3.938 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.035, allocations: 7.938 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/1.036, allocations: 43.92 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/1.037, allocations: 1.4 MB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/1.037, allocations: 7.984 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/1.037, allocations: 3.938 kB / 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 7.505e-05/1.037, allocations: 121.9 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-06/1.037, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.489e-05/1.037, allocations: 11.5 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.037, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/1.037, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/1.037, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/1.037, allocations: 161.5 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.037, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/1.038, allocations: 47.94 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.038, allocations: 3.984 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/1.038, allocations: 4 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/1.039, allocations: 1.408 MB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.039, allocations: 3.984 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/1.039, allocations: 69.14 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/1.039, allocations: 81.05 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/1.039, allocations: 7.938 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/1.039, allocations: 12 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/1.039, allocations: 7.984 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.039, allocations: 4 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.601e-05/1.039, allocations: 79.22 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.039, allocations: 0 / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001936/1.039, allocations: 4 kB / 1.173 GB, free: 13.41 MB / 0.9044 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.0001368/1.04, allocations: 95.25 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004861/1.04, allocations: 63.91 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.04, allocations: 4 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004023/1.041, allocations: 55.92 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/1.041, allocations: 4 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/1.041, allocations: 118.5 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/1.041, allocations: 0.6729 MB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/1.041, allocations: 11.44 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/1.041, allocations: 4 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of Templates: time 0.002078/1.043, allocations: 0.5815 MB / 1.175 GB, free: 11.73 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