Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001964/0.001964, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002483/0.002483, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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 1.497/1.497, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.85/2.85, allocations: 377.9 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.811e-05, allocations: 3.531 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001702/0.00173, allocations: 0.5992 MB / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002942/0.002024, allocations: 87.69 kB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.002041, allocations: 0 / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.002052, allocations: 0.875 kB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.0021, allocations: 0 / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.002304, allocations: 16.7 kB / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.002354, allocations: 7.984 kB / 0.8116 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.002393, allocations: 5.688 kB / 0.8116 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.002431, allocations: 4 kB / 0.8116 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.158e-05/0.002523, allocations: 11.92 kB / 0.8116 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.002537, allocations: 0 / 0.8116 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.391e-05/0.002601, allocations: 13.52 kB / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.002613, allocations: 0 / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.002642, allocations: 0 / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.349e-05/0.002736, allocations: 19.97 kB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002738, allocations: 0 / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002739, allocations: 0.8125 kB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.002743, allocations: 0 / 0.8116 GB, free: 1.301 MB / 0.7605 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.0003792/0.003122, allocations: 247.8 kB / 0.8118 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.003161, allocations: 11.97 kB / 0.8119 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.003354, allocations: 14.67 kB / 0.8119 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.003456, allocations: 101.8 kB / 0.812 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.003477, allocations: 4.375 kB / 0.812 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.003487, allocations: 4.375 kB / 0.812 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.003626, allocations: 42.23 kB / 0.812 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.003635, allocations: 1.281 kB / 0.812 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.003643, allocations: 384 / 0.812 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003648, allocations: 384 / 0.812 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.688e-05/0.003745, allocations: 20.48 kB / 0.812 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.003902, allocations: 102.2 kB / 0.8121 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.0041, allocations: 43.61 kB / 0.8122 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.004157, allocations: 12.91 kB / 0.8122 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.004176, allocations: 2.406 kB / 0.8122 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.004208, allocations: 38.5 kB / 0.8122 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004209, allocations: 0 / 0.8122 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of matching and sorting (n=3): time 0.0002644/0.004473, allocations: 61.61 kB / 0.8123 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.004534, allocations: 51.41 kB / 0.8123 GB, free: 444 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.004592, allocations: 90.39 kB / 0.8124 GB, free: 344 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.004613, allocations: 26.42 kB / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.004658, allocations: 80.14 kB / 0.8125 GB, free: 228 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.004696, allocations: 20.36 kB / 0.8125 GB, free: 208 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.004734, allocations: 17.72 kB / 0.8126 GB, free: 184 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.004927, allocations: 320.4 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.004972, allocations: 4 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.005011, allocations: 11.98 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.005102, allocations: 17.48 kB / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005103, allocations: 0.6875 kB / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001408/0.005244, allocations: 54.3 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.005258, allocations: 8 kB / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.005263, allocations: 0.8125 kB / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.00528, allocations: 0 / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.005704, allocations: 42.09 kB / 0.813 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.007301, allocations: 1.288 MB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.007335, allocations: 4 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.00734, allocations: 0 / 0.8143 GB, free: 14.34 MB / 0.7761 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 0.000103/0.007443, allocations: 109.9 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.007458, allocations: 3.938 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.007477, allocations: 7.531 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.007481, allocations: 5.219 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007482, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.007484, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.007585, allocations: 101.9 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.007589, allocations: 4 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.007973, allocations: 46.8 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007975, allocations: 4 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.007985, allocations: 5.031 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.009435, allocations: 1.278 MB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.009437, allocations: 0 / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.009591, allocations: 78.11 kB / 0.8159 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.009595, allocations: 7.938 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-06/0.009602, allocations: 1.125 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.009632, allocations: 4 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.009654, allocations: 7.984 kB / 0.8159 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.009657, allocations: 0.9688 kB / 0.8159 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000161/0.009818, allocations: 75.28 kB / 0.816 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009818, allocations: 0 / 0.816 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001989/0.01002, allocations: 4.656 kB / 0.816 GB, free: 12.45 MB / 0.7761 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.0001337/0.01015, allocations: 98.47 kB / 0.8161 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.01063, allocations: 59.91 kB / 0.8161 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01063, allocations: 1 kB / 0.8161 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.01088, allocations: 38.09 kB / 0.8161 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.01103, allocations: 15.84 kB / 0.8162 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.01139, allocations: 101 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.821e-05/0.01145, allocations: 63.36 kB / 0.8163 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.01148, allocations: 7.984 kB / 0.8163 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.01152, allocations: 8.5 kB / 0.8163 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of SimCode: time 4.7e-07/0.01152, allocations: 0 / 0.8163 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.002812/0.01433, allocations: 465.1 kB / 0.8168 GB, free: 11.58 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.675228507025167]