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.001294/0.001294, allocations: 114.5 kB / 16.37 MB, free: 5.984 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.001421/0.001421, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 64.03 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2726, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001796/0.2745, allocations: 0.5978 MB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.2748, allocations: 106 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.2748, allocations: 0 / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.2749, allocations: 0 / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.2749, allocations: 7.938 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.2751, allocations: 11.92 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.821e-05/0.2751, allocations: 11.98 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.2752, allocations: 0 / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.2752, allocations: 4 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.2753, allocations: 11.92 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.2753, allocations: 4 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.2754, allocations: 11.98 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.2754, allocations: 4 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.2754, allocations: 0 / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.122e-05/0.2755, allocations: 27.84 kB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2755, allocations: 0 / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2755, allocations: 0 / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2755, allocations: 0 / 1.028 GB, free: 1.227 MB / 0.795 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.0002941/0.2758, allocations: 315.6 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.2759, allocations: 12.03 kB / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.276, allocations: 16.92 kB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.751e-05/0.2761, allocations: 160.4 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2761, allocations: 384 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.2761, allocations: 384 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.2762, allocations: 38.25 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2763, allocations: 3.938 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2763, allocations: 7.984 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2763, allocations: 0 / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.2764, allocations: 23.91 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.2765, allocations: 145.7 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.2767, allocations: 42.59 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.2767, allocations: 12.92 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2768, allocations: 0 / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2768, allocations: 38.56 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.2768, allocations: 0 / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001951/0.277, allocations: 57.55 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.277, allocations: 55.41 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.38e-05/0.2771, allocations: 89.86 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.2771, allocations: 25.7 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.2771, allocations: 80.14 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.2772, allocations: 19.83 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.2772, allocations: 17.66 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.2773, allocations: 314.8 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.2773, allocations: 7.984 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.2774, allocations: 4 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.592e-05/0.2775, allocations: 20.84 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2775, allocations: 3.938 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001109/0.2776, allocations: 57.62 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2776, allocations: 4 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2776, allocations: 3.938 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2776, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.278, allocations: 43.92 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.2793, allocations: 1.409 MB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.2793, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2793, allocations: 0 / 1.03 GB, free: 13.86 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 7.544e-05/0.2794, allocations: 121.8 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.2794, allocations: 11.89 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.2794, allocations: 3.5 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2795, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.2795, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2795, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.395e-05/0.2796, allocations: 153.6 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2796, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.2799, allocations: 51.92 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2799, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2799, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.281, allocations: 1.404 MB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.281, allocations: 0 / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.2811, allocations: 73.16 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.2811, allocations: 85.03 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.2812, allocations: 3.938 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.2812, allocations: 4 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.2812, allocations: 64 / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2812, allocations: 4 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.201e-05/0.2812, allocations: 75.28 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2812, allocations: 0 / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001926/0.2814, allocations: 4 kB / 1.032 GB, free: 11.64 MB / 0.8106 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.000112/0.2816, allocations: 107.2 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.282, allocations: 55.92 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.282, allocations: 0 / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.2822, allocations: 43.89 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.2824, allocations: 6.594 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.2827, allocations: 101 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2829, allocations: 0.6768 MB / 1.033 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.2829, allocations: 4.219 kB / 1.033 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.283, allocations: 11.44 kB / 1.033 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of SimCode: time 4e-07/0.283, allocations: 0 / 1.033 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of Templates: time 0.002189/0.2852, allocations: 419.1 kB / 1.034 GB, free: 10.17 MB / 0.8106 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 -s gbode -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