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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.034/2.034, allocations: 387.4 MB / 394.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 188.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008503/0.0008503, allocations: 95.83 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.93e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2756, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9302/1.206, allocations: 147.8 MB / 1.35 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.206, allocations: 79.27 kB / 1.35 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002878/1.209, allocations: 0.9454 MB / 1.351 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.804e-06/1.209, allocations: 0 / 1.351 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.209, allocations: 0.5938 kB / 1.351 GB, free: 34.09 MB / 0.8386 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.0002398/1.209, allocations: 315.8 kB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.209, allocations: 9.031 kB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/1.21, allocations: 12.48 kB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.379e-05/1.21, allocations: 168.6 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/1.21, allocations: 6.5 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/1.21, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.408e-05/1.21, allocations: 8.984 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.98e-05/1.21, allocations: 39.88 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.21, allocations: 0 / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.21, allocations: 0 / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.21, allocations: 0 / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/1.21, allocations: 143 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/1.21, allocations: 36.28 kB / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/1.21, allocations: 8.703 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/1.21, allocations: 0 / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/1.21, allocations: 35.8 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/1.21, allocations: 0 / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001297/1.21, allocations: 35.7 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/1.21, allocations: 59.25 kB / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.395e-05/1.21, allocations: 85 kB / 1.352 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/1.21, allocations: 27.16 kB / 1.352 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/1.21, allocations: 80.14 kB / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/1.211, allocations: 12.19 kB / 1.352 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/1.211, allocations: 0 / 1.352 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.211, allocations: 312 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/1.211, allocations: 3.906 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/1.211, allocations: 11.47 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/1.211, allocations: 5.297 kB / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.211, allocations: 3.875 kB / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.959e-05/1.211, allocations: 44.5 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.211, allocations: 3.844 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/1.211, allocations: 0 / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.211, allocations: 3.844 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/1.211, allocations: 48.39 kB / 1.353 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008902/1.212, allocations: 1.239 MB / 1.354 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/1.212, allocations: 2.703 kB / 1.354 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/1.212, allocations: 4.75 kB / 1.354 GB, free: 31.32 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.291e-05/1.212, allocations: 101 kB / 1.354 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/1.212, allocations: 3.953 kB / 1.354 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-06/1.212, allocations: 5.484 kB / 1.354 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/1.212, allocations: 3.656 kB / 1.354 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/1.212, allocations: 4.094 kB / 1.354 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/1.212, allocations: 3.938 kB / 1.354 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.854e-05/1.212, allocations: 128.7 kB / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.212, allocations: 3.906 kB / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/1.213, allocations: 42.59 kB / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/1.213, allocations: 0 / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.213, allocations: 6.062 kB / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007655/1.213, allocations: 1.243 MB / 1.355 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.213, allocations: 11.88 kB / 1.355 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.651e-05/1.214, allocations: 63.97 kB / 1.356 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/1.214, allocations: 80.2 kB / 1.356 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-06/1.214, allocations: 1.359 kB / 1.356 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.778e-05/1.214, allocations: 7.859 kB / 1.356 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/1.214, allocations: 6.953 kB / 1.356 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/1.214, allocations: 5.281 kB / 1.356 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.684e-05/1.214, allocations: 75.28 kB / 1.356 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.214, allocations: 1.344 kB / 1.356 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001894/1.214, allocations: 2.656 kB / 1.356 GB, free: 29.52 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000126/1.214, allocations: 100.4 kB / 1.356 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003539/1.214, allocations: 50.86 kB / 1.356 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.214, allocations: 3.938 kB / 1.356 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/1.215, allocations: 26.16 kB / 1.356 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.751e-05/1.215, allocations: 5.188 kB / 1.356 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001621/1.215, allocations: 52.02 kB / 1.356 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/1.215, allocations: 0.68 MB / 1.357 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.315e-05/1.215, allocations: 4.344 kB / 1.357 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/1.215, allocations: 12.72 kB / 1.357 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.215, allocations: 3.938 kB / 1.357 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.002075/1.217, allocations: 376 kB / 1.357 GB, free: 28.59 MB / 0.8386 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 -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","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches