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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002591/0.002591, allocations: 194.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.6046, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001944/0.6066, allocations: 0.6605 MB / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002892/0.6069, allocations: 91.73 kB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.6069, allocations: 3.938 kB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.6069, allocations: 3.938 kB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.607, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.6072, allocations: 15.98 kB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.6073, allocations: 7.984 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.6073, allocations: 7.984 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.6074, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.6074, allocations: 8 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.6075, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.6075, allocations: 15.98 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.6075, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.6076, allocations: 7.938 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.814e-05/0.6077, allocations: 15.97 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6077, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6077, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6077, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 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.0003893/0.6081, allocations: 327.5 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.6081, allocations: 12.03 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.6083, allocations: 8.922 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.6084, allocations: 160.4 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.6085, allocations: 12.28 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.6085, allocations: 4.375 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.6086, allocations: 38.25 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6086, allocations: 192 / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.6087, allocations: 3.938 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.6087, allocations: 4 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.259e-05/0.6088, allocations: 15.92 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.6089, allocations: 149.7 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.6091, allocations: 46.53 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.6092, allocations: 16.91 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.6092, allocations: 4 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.6093, allocations: 30.56 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6093, allocations: 0 / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0002283/0.6095, allocations: 57.62 kB / 1.018 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.6096, allocations: 55.39 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.6096, allocations: 89.86 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.6096, allocations: 25.7 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.6097, allocations: 84.14 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.6097, allocations: 9.875 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.6098, allocations: 17.66 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6099, allocations: 314.8 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.6099, allocations: 7.984 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.61, allocations: 11.94 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.6101, allocations: 20.84 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6101, allocations: 4 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000123/0.6102, allocations: 49.67 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6102, allocations: 4 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6103, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.6103, allocations: 3.938 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.6107, allocations: 43.88 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.6122, allocations: 1.412 MB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.6123, allocations: 4.031 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.6123, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 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.979e-05/0.6124, allocations: 114.4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.6124, allocations: 3.938 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.6124, allocations: 11.5 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6124, allocations: 3.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.6124, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.6124, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.6126, allocations: 157.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6126, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.613, allocations: 51.92 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.613, allocations: 3.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.613, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.6143, allocations: 1.404 MB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6144, allocations: 0 / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.6145, allocations: 77.05 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.6146, allocations: 77.11 kB / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.6146, allocations: 12 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.835e-05/0.6146, allocations: 0 / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.6146, allocations: 4 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.6146, allocations: 0 / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.6147, allocations: 83.28 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6147, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001973/0.6149, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 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.0001245/0.615, allocations: 112.6 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004754/0.6155, allocations: 59.95 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6155, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.6158, allocations: 35.95 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.6159, allocations: 9.719 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.6162, allocations: 89.05 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.6166, allocations: 0.6767 MB / 1.023 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.853e-05/0.6166, allocations: 11.94 kB / 1.023 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.6167, allocations: 7.438 kB / 1.023 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6167, allocations: 0 / 1.023 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of Templates: time 0.002608/0.6193, allocations: 415.9 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (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) 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) Reference file matches