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.001064/0.001064, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.000988/0.000988, allocations: 169 kB / 24.28 MB, free: 276 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.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.753/1.753, allocations: 359 MB / 0.6055 GB, free: 11.01 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 2.104e-06/2.104e-06, allocations: 0.6562 kB / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.088e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001295/0.001325, allocations: 0.6142 MB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002815/0.001607, allocations: 83.78 kB / 0.7878 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.001633, allocations: 4.5 kB / 0.7878 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.001655, allocations: 0 / 0.7878 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.00171, allocations: 4.906 kB / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.001971, allocations: 11.98 kB / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.002038, allocations: 4.656 kB / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.002089, allocations: 0.9062 kB / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.002131, allocations: 11.98 kB / 0.7879 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.458e-05/0.002226, allocations: 7.984 kB / 0.7879 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.872e-05/0.002244, allocations: 5.562 kB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.139e-05/0.002316, allocations: 11.92 kB / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.002336, allocations: 7.938 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.002354, allocations: 4 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.968e-05/0.002454, allocations: 13.19 kB / 0.7879 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.002457, allocations: 4 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002457, allocations: 0 / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.002462, allocations: 0.6875 kB / 0.7879 GB, free: 11.96 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.0003454/0.002808, allocations: 340.4 kB / 0.7882 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.002849, allocations: 13.62 kB / 0.7883 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.002979, allocations: 8.922 kB / 0.7883 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.418e-05/0.003043, allocations: 104.6 kB / 0.7884 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.003065, allocations: 11.84 kB / 0.7884 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-06/0.003074, allocations: 384 / 0.7884 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.003191, allocations: 50.94 kB / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.003198, allocations: 192 / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.003207, allocations: 384 / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.003214, allocations: 384 / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.003249, allocations: 19.86 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.00337, allocations: 108.6 kB / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.00346, allocations: 43.09 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.003482, allocations: 12.28 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.003502, allocations: 0.5938 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.003528, allocations: 37.39 kB / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.00353, allocations: 1.656 kB / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001499/0.003679, allocations: 49.62 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.003712, allocations: 51.41 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.541e-05/0.003757, allocations: 146.2 kB / 0.7889 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.003769, allocations: 26.55 kB / 0.7889 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.003805, allocations: 134.9 kB / 0.789 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.003841, allocations: 17.27 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.003868, allocations: 19.38 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.003987, allocations: 0.4883 MB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.004002, allocations: 5.406 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.004012, allocations: 3.984 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.004053, allocations: 23.62 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004055, allocations: 0 / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.189e-05/0.004107, allocations: 42.56 kB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.004118, allocations: 4 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.004123, allocations: 1.344 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.004139, allocations: 8.031 kB / 0.7896 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.004305, allocations: 24.69 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.005434, allocations: 1.8 MB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.005446, allocations: 0.7188 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.00545, allocations: 0 / 0.7914 GB, free: 8.082 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 6.092e-05/0.005511, allocations: 161.8 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.005517, allocations: 3.938 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-06/0.005525, allocations: 8.094 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.005526, allocations: 1.156 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.005527, allocations: 0 / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.005531, allocations: 7.984 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.139e-05/0.005582, allocations: 112.6 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005584, allocations: 0.9688 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.005696, allocations: 29.53 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.005699, allocations: 4 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.005705, allocations: 8.562 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006245/0.00633, allocations: 1.796 MB / 0.7935 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006331, allocations: 0.8438 kB / 0.7935 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.132e-05/0.006392, allocations: 84.31 kB / 0.7936 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-06/0.006394, allocations: 0 / 0.7936 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-06/0.006398, allocations: 6.219 kB / 0.7936 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.006409, allocations: 3.984 kB / 0.7936 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.006426, allocations: 0 / 0.7936 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.006429, allocations: 0 / 0.7936 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.006462, allocations: 123.2 kB / 0.7937 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006462, allocations: 0 / 0.7937 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001267/0.006589, allocations: 14.72 kB / 0.7937 GB, free: 5.551 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 7.093e-05/0.00666, allocations: 91.25 kB / 0.7938 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.006832, allocations: 49.17 kB / 0.7938 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006834, allocations: 0 / 0.7938 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.006929, allocations: 35.95 kB / 0.7939 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.007034, allocations: 8.5 kB / 0.7939 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.007242, allocations: 98.69 kB / 0.794 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.00727, allocations: 59.8 kB / 0.794 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.007289, allocations: 4.984 kB / 0.794 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.007314, allocations: 13.59 kB / 0.7941 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.007314, allocations: 0 / 0.7941 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of Templates: time 0.001941/0.009255, allocations: 483.3 kB / 0.7945 GB, free: 4.688 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: 5.011152517050505]