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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003091/0.003091, allocations: 190.5 kB / 22.11 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.146/3.146, allocations: 495.8 MB / 0.783 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003157/0.003157, allocations: 68.7 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3601, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002042/0.3622, allocations: 0.61 MB / 1.307 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003366/0.3625, allocations: 96.14 kB / 1.307 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.3625, allocations: 0 / 1.307 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.3626, allocations: 0 / 1.307 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.3626, allocations: 0 / 1.307 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.3628, allocations: 15.98 kB / 1.307 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.3629, allocations: 15.91 kB / 1.307 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.363, allocations: 4 kB / 1.307 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.363, allocations: 7.938 kB / 1.308 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.3631, allocations: 0 / 1.308 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3631, allocations: 0 / 1.308 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.3632, allocations: 15.98 kB / 1.308 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.3632, allocations: 0 / 1.308 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.3632, allocations: 4 kB / 1.308 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.888e-05/0.3633, allocations: 27.83 kB / 1.308 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3633, allocations: 0 / 1.308 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3633, allocations: 0 / 1.308 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3633, allocations: 0 / 1.308 GB, free: 1.012 MB / 0.9981 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.0004042/0.3637, allocations: 250.4 kB / 1.308 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3638, allocations: 8.031 kB / 1.308 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.3639, allocations: 8.922 kB / 1.308 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.364, allocations: 114.5 kB / 1.308 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.364, allocations: 384 / 1.308 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.364, allocations: 384 / 1.308 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.3642, allocations: 38.25 kB / 1.308 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3642, allocations: 8.125 kB / 1.308 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3642, allocations: 7.938 kB / 1.308 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3642, allocations: 0 / 1.308 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.971e-05/0.3643, allocations: 11.98 kB / 1.308 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.3645, allocations: 120.8 kB / 1.308 GB, free: 360 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.3646, allocations: 42.56 kB / 1.308 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.3647, allocations: 16.91 kB / 1.308 GB, free: 288 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3647, allocations: 3.938 kB / 1.308 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.3647, allocations: 30.56 kB / 1.308 GB, free: 244 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.3647, allocations: 3.938 kB / 1.308 GB, free: 240 kB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002388/0.365, allocations: 61.61 kB / 1.308 GB, free: 172 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.365, allocations: 51.41 kB / 1.308 GB, free: 108 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.3651, allocations: 93.86 kB / 1.308 GB, free: 4 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.3651, allocations: 25.7 kB / 1.308 GB, free: 15.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.3651, allocations: 84.14 kB / 1.308 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.3652, allocations: 3.953 kB / 1.308 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.3652, allocations: 21.66 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3654, allocations: 314.8 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.3654, allocations: 4 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.3654, allocations: 11.98 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.484e-05/0.3655, allocations: 29.06 kB / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3655, allocations: 0 / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001213/0.3656, allocations: 53.62 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3657, allocations: 8 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3657, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3657, allocations: 7.938 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.3661, allocations: 43.94 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.3676, allocations: 1.294 MB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.3677, allocations: 3.953 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3677, allocations: 4.094 kB / 1.31 GB, free: 13.96 MB / 1.014 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.0001033/0.3678, allocations: 118.5 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.3678, allocations: 0 / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.3678, allocations: 11.52 kB / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3678, allocations: 0 / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.3678, allocations: 0 / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3678, allocations: 0 / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.3679, allocations: 120.7 kB / 1.31 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3679, allocations: 0 / 1.31 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.3683, allocations: 51.92 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3683, allocations: 0 / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3683, allocations: 8 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.3697, allocations: 1.309 MB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3697, allocations: 4 kB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3698, allocations: 73.05 kB / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-06/0.3698, allocations: 0 / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.3698, allocations: 7.938 kB / 1.312 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.905e-05/0.3698, allocations: 8.062 kB / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.3699, allocations: 0 / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3699, allocations: 0 / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.3699, allocations: 87.2 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 5e-08/0.3699, allocations: 0 / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001919/0.3701, allocations: 0 / 1.312 GB, free: 11.99 MB / 1.014 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.0001501/0.3703, allocations: 99.19 kB / 1.312 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005035/0.3708, allocations: 63.86 kB / 1.312 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3708, allocations: 0 / 1.312 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.371, allocations: 39.95 kB / 1.312 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.3712, allocations: 4 kB / 1.312 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.3715, allocations: 96.84 kB / 1.312 GB, free: 11.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3718, allocations: 0.6768 MB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.086e-05/0.3719, allocations: 4 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.3719, allocations: 11.44 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3719, allocations: 0 / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of Templates: time 0.002882/0.3748, allocations: 437.8 kB / 1.313 GB, free: 10.51 MB / 1.014 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: 8.823130541481078]