Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001571/0.001571, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001651/0.001651, allocations: 186 kB / 20.78 MB, free: 1.547 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.434/1.434, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.4 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.12 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001783/0.3096, allocations: 0.6017 MB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.3099, allocations: 95.7 kB / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.3099, allocations: 4 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.3099, allocations: 0 / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.31, allocations: 0 / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3102, allocations: 19.92 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.801e-05/0.3103, allocations: 4 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.3103, allocations: 4 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.3103, allocations: 7.938 kB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.3104, allocations: 3.984 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.3104, allocations: 0 / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.3105, allocations: 15.98 kB / 1.217 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.3105, allocations: 7.984 kB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.3105, allocations: 4 kB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.296e-05/0.3106, allocations: 15.92 kB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3106, allocations: 0 / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3106, allocations: 0 / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.3106, allocations: 0 / 1.217 GB, free: 14.53 MB / 0.9669 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.0005282/0.3112, allocations: 319.5 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3112, allocations: 8.031 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.3114, allocations: 16.88 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3116, allocations: 168.3 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.3116, allocations: 8.375 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3116, allocations: 384 / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3118, allocations: 34.25 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3118, allocations: 192 / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3118, allocations: 3.938 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.3118, allocations: 4 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.3119, allocations: 11.98 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.3121, allocations: 161.6 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3123, allocations: 42.59 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.3124, allocations: 12.86 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.3124, allocations: 7.922 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.3124, allocations: 34.56 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3124, allocations: 4 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002349/0.3127, allocations: 57.61 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.3127, allocations: 55.34 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.647e-05/0.3128, allocations: 89.86 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3128, allocations: 25.7 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.3129, allocations: 80.14 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.3129, allocations: 15.94 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.3129, allocations: 9.719 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3131, allocations: 322.8 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.3131, allocations: 8 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.3131, allocations: 7.984 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.3132, allocations: 20.84 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3132, allocations: 0 / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001091/0.3133, allocations: 49.62 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3133, allocations: 4 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.3133, allocations: 4 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3134, allocations: 7.938 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.3137, allocations: 39.92 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.3152, allocations: 1.404 MB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.3152, allocations: 11.97 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.3152, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 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 8.983e-05/0.3153, allocations: 109.8 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.3153, allocations: 4 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.3153, allocations: 11.56 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3153, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.21e-07/0.3153, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3153, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.3155, allocations: 157.9 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3155, allocations: 4 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.3158, allocations: 51.92 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3158, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3158, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.3172, allocations: 1.408 MB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3172, allocations: 0 / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3173, allocations: 69.25 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.3174, allocations: 77.11 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3174, allocations: 7.938 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.3174, allocations: 7.984 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.3174, allocations: 0 / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3174, allocations: 7.938 kB / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.3175, allocations: 83.22 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3175, allocations: 0 / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002033/0.3177, allocations: 4 kB / 1.222 GB, free: 8.922 MB / 0.9669 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.0001349/0.3178, allocations: 95.25 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.3183, allocations: 67.84 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3183, allocations: 0 / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.3185, allocations: 35.95 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.3187, allocations: 4 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.319, allocations: 124.8 kB / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.3193, allocations: 0.6729 MB / 1.223 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.3194, allocations: 3.984 kB / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.3194, allocations: 11.44 kB / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3194, allocations: 0 / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of Templates: time 0.002632/0.322, allocations: 429.4 kB / 1.223 GB, free: 7.43 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.94407444819808]