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.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.0009776/0.0009776, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001084/0.001084, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9794/0.9794, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.418/2.418, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8898 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.834e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00129/0.001318, allocations: 0.5994 MB / 0.8904 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000234/0.001552, allocations: 91.73 kB / 0.8905 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.001574, allocations: 0 / 0.8905 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.001589, allocations: 4 kB / 0.8905 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.001634, allocations: 0 / 0.8905 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.001825, allocations: 19.91 kB / 0.8905 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.346e-05/0.001869, allocations: 8 kB / 0.8905 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.462e-05/0.001903, allocations: 0 / 0.8905 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.001937, allocations: 7.984 kB / 0.8905 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.002014, allocations: 4 kB / 0.8905 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.002029, allocations: 0 / 0.8905 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.275e-05/0.002092, allocations: 19.92 kB / 0.8905 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.002105, allocations: 7.922 kB / 0.8905 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.052e-05/0.002116, allocations: 0 / 0.8905 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.114e-05/0.002197, allocations: 19.97 kB / 0.8906 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.002199, allocations: 0 / 0.8906 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.72e-07/0.0022, allocations: 4 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.002204, allocations: 0 / 0.8906 GB, free: 8.879 MB / 0.8542 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.0002721/0.002476, allocations: 340.7 kB / 0.8909 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.002517, allocations: 12.61 kB / 0.8909 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.002628, allocations: 8.891 kB / 0.8909 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.503e-05/0.002683, allocations: 112.6 kB / 0.891 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.002697, allocations: 4.375 kB / 0.891 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-06/0.002701, allocations: 4.312 kB / 0.891 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.503e-05/0.002786, allocations: 50.94 kB / 0.8911 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.002793, allocations: 192 / 0.8911 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.002799, allocations: 8.359 kB / 0.8911 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.002806, allocations: 4.375 kB / 0.8911 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.002827, allocations: 7.938 kB / 0.8911 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.6e-05/0.002923, allocations: 93.27 kB / 0.8912 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.699e-05/0.003, allocations: 43.03 kB / 0.8912 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.003014, allocations: 11.75 kB / 0.8912 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.003027, allocations: 0 / 0.8912 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.003047, allocations: 33.39 kB / 0.8913 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.003047, allocations: 0 / 0.8913 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.000107/0.003155, allocations: 45.69 kB / 0.8913 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.00318, allocations: 59.39 kB / 0.8914 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.865e-05/0.003219, allocations: 150.2 kB / 0.8915 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.003227, allocations: 25.7 kB / 0.8915 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.003255, allocations: 126.9 kB / 0.8917 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.003282, allocations: 3.953 kB / 0.8917 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.003308, allocations: 27.31 kB / 0.8917 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.003417, allocations: 0.4883 MB / 0.8922 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.003433, allocations: 7.984 kB / 0.8922 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.003441, allocations: 0 / 0.8922 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.003473, allocations: 15.69 kB / 0.8922 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.003475, allocations: 4 kB / 0.8922 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.234e-05/0.003528, allocations: 49.64 kB / 0.8922 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.003539, allocations: 4 kB / 0.8922 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.003545, allocations: 4.312 kB / 0.8923 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.003556, allocations: 0 / 0.8923 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.003698, allocations: 27.91 kB / 0.8923 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007996/0.004498, allocations: 1.783 MB / 0.894 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.004515, allocations: 11.95 kB / 0.894 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.00452, allocations: 4 kB / 0.894 GB, free: 5.023 MB / 0.8542 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 6.469e-05/0.004585, allocations: 160.5 kB / 0.8942 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-06/0.00459, allocations: 0 / 0.8942 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.215e-05/0.004602, allocations: 7.531 kB / 0.8942 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.004604, allocations: 3.938 kB / 0.8942 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.004605, allocations: 4.094 kB / 0.8942 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.004608, allocations: 0 / 0.8942 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.835e-05/0.004666, allocations: 101.2 kB / 0.8943 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.004668, allocations: 0 / 0.8943 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.004775, allocations: 27.97 kB / 0.8943 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.004777, allocations: 0 / 0.8943 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.004782, allocations: 0 / 0.8943 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006517/0.005433, allocations: 1.787 MB / 0.8961 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.005434, allocations: 0 / 0.8961 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.781e-05/0.005492, allocations: 80.42 kB / 0.8961 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-06/0.005494, allocations: 0 / 0.8961 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-06/0.005501, allocations: 7.938 kB / 0.8962 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-06/0.00551, allocations: 0 / 0.8962 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.005525, allocations: 16.05 kB / 0.8962 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.005528, allocations: 3.938 kB / 0.8962 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.005558, allocations: 119.2 kB / 0.8963 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.005558, allocations: 4 kB / 0.8963 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001232/0.005682, allocations: 0 / 0.8963 GB, free: 2.535 MB / 0.8542 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.47e-05/0.005776, allocations: 95.25 kB / 0.8964 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.005938, allocations: 43.66 kB / 0.8964 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.005939, allocations: 0 / 0.8964 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.006023, allocations: 35.88 kB / 0.8965 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.97e-05/0.006122, allocations: 8 kB / 0.8965 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.006313, allocations: 106 kB / 0.8966 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.494e-05/0.006338, allocations: 51.36 kB / 0.8966 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.897e-05/0.006357, allocations: 4 kB / 0.8966 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.006394, allocations: 70.2 kB / 0.8967 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.006394, allocations: 0 / 0.8967 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of Templates: time 0.001863/0.008258, allocations: 0.5005 MB / 0.8972 GB, free: 1.566 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.374656577594578]