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.0009714/0.0009714, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009952/0.0009952, allocations: 185 kB / 24.09 MB, free: 416 kB / 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 1.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.795/1.795, allocations: 359 MB / 0.6055 GB, free: 10.86 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 1.993e-06/1.993e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.759e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002098/0.002125, allocations: 0.6082 MB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002927/0.002418, allocations: 92.28 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.002442, allocations: 4 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.002464, allocations: 1.438 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.002514, allocations: 0 / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.002742, allocations: 19.91 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.002792, allocations: 5.219 kB / 0.7883 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.002834, allocations: 4 kB / 0.7883 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.002874, allocations: 7.922 kB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.612e-05/0.00296, allocations: 4.625 kB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.002976, allocations: 1.406 kB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.003048, allocations: 19.92 kB / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.003063, allocations: 0 / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.003076, allocations: 0 / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.003178, allocations: 24.92 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.00318, allocations: 0 / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003181, allocations: 0 / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.003186, allocations: 0.875 kB / 0.7884 GB, free: 11.36 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.0003214/0.003507, allocations: 340.4 kB / 0.7887 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.003556, allocations: 13.05 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.003697, allocations: 4.938 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.979e-05/0.003767, allocations: 113.1 kB / 0.7888 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.003785, allocations: 5.625 kB / 0.7888 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.003791, allocations: 384 / 0.7888 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.003895, allocations: 46.95 kB / 0.7889 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003902, allocations: 192 / 0.7889 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.00391, allocations: 5.953 kB / 0.7889 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.003915, allocations: 4.375 kB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.003942, allocations: 7.938 kB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.004056, allocations: 97.2 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.004152, allocations: 48.23 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.004169, allocations: 11.75 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.004186, allocations: 0 / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.004211, allocations: 36.42 kB / 0.7891 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.004212, allocations: 0 / 0.7891 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001314/0.004344, allocations: 49.67 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.004377, allocations: 63.33 kB / 0.7892 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.294e-05/0.00442, allocations: 142.2 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.004431, allocations: 25.7 kB / 0.7894 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.004464, allocations: 126.9 kB / 0.7895 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.004498, allocations: 12.25 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.004534, allocations: 20.09 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.004673, allocations: 496.1 kB / 0.79 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.004695, allocations: 9.641 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.004706, allocations: 4 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.004747, allocations: 11.69 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004748, allocations: 0 / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.777e-05/0.004826, allocations: 50.78 kB / 0.79 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.004839, allocations: 4 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.004844, allocations: 0 / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.004857, allocations: 1.062 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.005035, allocations: 25.72 kB / 0.7901 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.006322, allocations: 1.788 MB / 0.7918 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.006342, allocations: 4.562 kB / 0.7918 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006348, allocations: 5.5 kB / 0.7918 GB, free: 7.535 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.747e-05/0.006425, allocations: 152.6 kB / 0.792 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.006434, allocations: 0 / 0.792 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.218e-05/0.006446, allocations: 8.391 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.006449, allocations: 3.938 kB / 0.792 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006451, allocations: 1.688 kB / 0.792 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.006455, allocations: 3.984 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.922e-05/0.006534, allocations: 105.2 kB / 0.7921 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.006537, allocations: 0 / 0.7921 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.006689, allocations: 29.41 kB / 0.7921 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.006691, allocations: 0.625 kB / 0.7921 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.006696, allocations: 3.938 kB / 0.7921 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009041/0.0076, allocations: 1.787 MB / 0.7939 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.007602, allocations: 0 / 0.7939 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.414e-05/0.007686, allocations: 72.44 kB / 0.7939 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-06/0.00769, allocations: 3.938 kB / 0.7939 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.007699, allocations: 8.75 kB / 0.794 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.696e-05/0.007716, allocations: 4 kB / 0.794 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.007733, allocations: 4.922 kB / 0.794 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.007739, allocations: 4 kB / 0.794 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.007776, allocations: 123.2 kB / 0.7941 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007776, allocations: 1.344 kB / 0.7941 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002061/0.007982, allocations: 0 / 0.7941 GB, free: 5.066 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 0.0001343/0.008116, allocations: 96.12 kB / 0.7942 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.00833, allocations: 41.78 kB / 0.7942 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.008332, allocations: 0 / 0.7942 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.008452, allocations: 44.61 kB / 0.7943 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.008591, allocations: 5.328 kB / 0.7943 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.008828, allocations: 110.1 kB / 0.7944 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.008858, allocations: 51.36 kB / 0.7944 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.008883, allocations: 4 kB / 0.7944 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.008932, allocations: 70.2 kB / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.008933, allocations: 0 / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of Templates: time 0.00256/0.01149, allocations: 0.5057 MB / 0.795 GB, free: 4.109 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.891112152021378]