Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9854/0.9854, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.758/1.758, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 3.984 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/3.05e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001567/0.001598, allocations: 0.6084 MB / 0.7878 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.001887, allocations: 89.23 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.001905, allocations: 0 / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.001927, allocations: 0 / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.001978, allocations: 0 / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.002266, allocations: 21.02 kB / 0.7879 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.002324, allocations: 7.938 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.002368, allocations: 4.609 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.002403, allocations: 4 kB / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.002483, allocations: 5.391 kB / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.002499, allocations: 0 / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.00257, allocations: 19.92 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.002584, allocations: 1.062 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.002601, allocations: 4 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.989e-05/0.002701, allocations: 15.97 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002703, allocations: 1 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002703, allocations: 0 / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.002708, allocations: 0 / 0.7879 GB, free: 11.65 MB / 0.7448 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.0003174/0.003025, allocations: 353.5 kB / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.003068, allocations: 8.031 kB / 0.7883 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.003231, allocations: 14.53 kB / 0.7883 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.356e-05/0.003295, allocations: 108.6 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.003312, allocations: 384 / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.003322, allocations: 4.375 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.003433, allocations: 52.55 kB / 0.7884 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003439, allocations: 192 / 0.7884 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.003451, allocations: 384 / 0.7884 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.003457, allocations: 384 / 0.7884 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.003499, allocations: 7.938 kB / 0.7884 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.003628, allocations: 118 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.003744, allocations: 39 kB / 0.7886 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.003773, allocations: 15.75 kB / 0.7886 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.003788, allocations: 6.891 kB / 0.7886 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.003822, allocations: 33.39 kB / 0.7886 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.003823, allocations: 0 / 0.7886 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001574/0.00398, allocations: 53.62 kB / 0.7887 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.004017, allocations: 51.41 kB / 0.7887 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.004062, allocations: 142.2 kB / 0.7889 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.004074, allocations: 25.7 kB / 0.7889 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.004113, allocations: 131.6 kB / 0.789 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.004174, allocations: 12.25 kB / 0.789 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.004206, allocations: 19.91 kB / 0.7891 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.004351, allocations: 0.4922 MB / 0.7895 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.004369, allocations: 1.312 kB / 0.7895 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.29e-05/0.004382, allocations: 8 kB / 0.7896 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.004428, allocations: 19.95 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.004431, allocations: 0.5312 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.973e-05/0.00451, allocations: 51 kB / 0.7896 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.004526, allocations: 4 kB / 0.7896 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.004531, allocations: 0 / 0.7896 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.004544, allocations: 0 / 0.7896 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.004758, allocations: 25.12 kB / 0.7897 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.005785, allocations: 1.804 MB / 0.7914 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.005802, allocations: 4 kB / 0.7914 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.005808, allocations: 5.125 kB / 0.7914 GB, free: 7.754 MB / 0.7448 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.268e-05/0.00588, allocations: 152.6 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.005892, allocations: 19.36 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.074e-05/0.005903, allocations: 3.531 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005904, allocations: 0 / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.005906, allocations: 0 / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005909, allocations: 0 / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.006083, allocations: 116.6 kB / 0.7917 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006084, allocations: 0 / 0.7917 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.006234, allocations: 28.56 kB / 0.7917 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.006236, allocations: 0.5312 kB / 0.7917 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.006245, allocations: 3.938 kB / 0.7917 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007925/0.007038, allocations: 1.798 MB / 0.7935 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007038, allocations: 0 / 0.7935 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.616e-05/0.007104, allocations: 92.3 kB / 0.7936 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-06/0.007108, allocations: 4.844 kB / 0.7936 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-06/0.007112, allocations: 0 / 0.7936 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.189e-05/0.007124, allocations: 0 / 0.7936 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.007144, allocations: 8.531 kB / 0.7936 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.007148, allocations: 0.7188 kB / 0.7936 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.007176, allocations: 119.2 kB / 0.7937 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007176, allocations: 0.8125 kB / 0.7937 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001202/0.007296, allocations: 4 kB / 0.7937 GB, free: 5.234 MB / 0.7448 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 9.239e-05/0.007388, allocations: 100.2 kB / 0.7938 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.007585, allocations: 45.84 kB / 0.7938 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007586, allocations: 0 / 0.7938 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.456e-05/0.007681, allocations: 41.88 kB / 0.7939 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.007783, allocations: 7.938 kB / 0.7939 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.008024, allocations: 98.08 kB / 0.794 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.008054, allocations: 56.06 kB / 0.794 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.008073, allocations: 5.031 kB / 0.794 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.008096, allocations: 12.44 kB / 0.7941 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.008096, allocations: 1.125 kB / 0.7941 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.00201/0.01011, allocations: 0.4955 MB / 0.7945 GB, free: 4.344 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7935824752785265]