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.0008533/0.0008533, allocations: 80.53 kB / 19.93 MB, free: 4.609 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.001009/0.001009, allocations: 181.2 kB / 23.22 MB, free: 1.32 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.895/0.895, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.642/1.642, allocations: 359 MB / 0.6044 GB, free: 11.09 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.134e-06/2.134e-06, allocations: 0 / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.586e-05, allocations: 5.656 kB / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00117/0.001206, allocations: 0.5956 MB / 0.9524 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002253/0.001431, allocations: 87.67 kB / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.001447, allocations: 0 / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.001462, allocations: 0 / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.001505, allocations: 4 kB / 0.9524 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.001707, allocations: 19.92 kB / 0.9525 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.001757, allocations: 7.938 kB / 0.9525 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.001795, allocations: 4 kB / 0.9525 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.001826, allocations: 4 kB / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.001895, allocations: 7.984 kB / 0.9525 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.001911, allocations: 3.984 kB / 0.9525 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-05/0.001966, allocations: 7.984 kB / 0.9525 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.001982, allocations: 4 kB / 0.9525 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.001997, allocations: 4 kB / 0.9525 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.977e-05/0.002086, allocations: 15.92 kB / 0.9525 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002088, allocations: 4 kB / 0.9525 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.342e-06/0.00209, allocations: 0 / 0.9525 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002093, allocations: 0 / 0.9525 GB, free: 2.16 MB / 0.9011 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.0002452/0.002339, allocations: 250.3 kB / 0.9528 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.002375, allocations: 8.031 kB / 0.9528 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.002485, allocations: 16.81 kB / 0.9528 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.493e-05/0.00254, allocations: 105.7 kB / 0.9529 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.002559, allocations: 8.359 kB / 0.9529 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.002569, allocations: 4.375 kB / 0.9529 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.002655, allocations: 38.25 kB / 0.9529 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.002663, allocations: 192 / 0.9529 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.002672, allocations: 4.359 kB / 0.9529 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.002677, allocations: 4.375 kB / 0.953 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.002728, allocations: 15.92 kB / 0.953 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.519e-05/0.002823, allocations: 97.33 kB / 0.9531 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.002934, allocations: 50.59 kB / 0.9531 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.00296, allocations: 8.859 kB / 0.9531 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.002974, allocations: 4 kB / 0.9531 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.002993, allocations: 30.56 kB / 0.9531 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.002993, allocations: 0 / 0.9531 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001433/0.003136, allocations: 57.67 kB / 0.9532 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.003161, allocations: 55.34 kB / 0.9533 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.423e-05/0.003185, allocations: 93.86 kB / 0.9533 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.003194, allocations: 25.7 kB / 0.9534 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.003212, allocations: 80.14 kB / 0.9534 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.003236, allocations: 11.92 kB / 0.9535 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.00326, allocations: 21.72 kB / 0.9535 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.003328, allocations: 314.8 kB / 0.9538 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.003345, allocations: 4 kB / 0.9538 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.003361, allocations: 11.98 kB / 0.9538 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.0034, allocations: 20.84 kB / 0.9538 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.003401, allocations: 0 / 0.9538 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.473e-05/0.003456, allocations: 49.69 kB / 0.9539 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.003468, allocations: 4 kB / 0.9539 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.003472, allocations: 0 / 0.9539 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.003483, allocations: 7.938 kB / 0.9539 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.003686, allocations: 43.92 kB / 0.9539 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007845/0.004471, allocations: 1.282 MB / 0.9552 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.004483, allocations: 0 / 0.9552 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.004488, allocations: 0 / 0.9552 GB, free: 15.18 MB / 0.9167 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 5.796e-05/0.004546, allocations: 121.8 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.004552, allocations: 19.94 kB / 0.9553 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-06/0.00456, allocations: 3.531 kB / 0.9553 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.004561, allocations: 0 / 0.9553 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-07/0.004562, allocations: 0 / 0.9553 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.004565, allocations: 7.938 kB / 0.9553 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.84e-05/0.004613, allocations: 97.33 kB / 0.9554 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.004614, allocations: 0 / 0.9554 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.004773, allocations: 51.92 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.004774, allocations: 0 / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.004782, allocations: 7.938 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005994/0.005382, allocations: 1.27 MB / 0.9567 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005382, allocations: 0 / 0.9567 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.738e-05/0.00545, allocations: 81.08 kB / 0.9568 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-06/0.005452, allocations: 0 / 0.9568 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-06/0.005455, allocations: 0 / 0.9568 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.251e-05/0.005468, allocations: 7.984 kB / 0.9568 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.005485, allocations: 4 kB / 0.9568 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.005487, allocations: 4.094 kB / 0.9568 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.88e-05/0.005506, allocations: 75.28 kB / 0.9569 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3e-08/0.005506, allocations: 7.938 kB / 0.9569 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001323/0.005638, allocations: 4 kB / 0.9569 GB, free: 13.27 MB / 0.9167 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.563e-05/0.005734, allocations: 95.25 kB / 0.957 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.00598, allocations: 59.91 kB / 0.957 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.005982, allocations: 0 / 0.957 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.006143, allocations: 59.92 kB / 0.9571 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.006251, allocations: 14.11 kB / 0.9571 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.006553, allocations: 121.8 kB / 0.9572 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.44e-05/0.006587, allocations: 59.34 kB / 0.9573 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.006609, allocations: 12.44 kB / 0.9573 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.00661, allocations: 0 / 0.9573 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.001647/0.008257, allocations: 0.6057 MB / 0.9579 GB, free: 12.19 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.718919814564288]