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.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00181/0.00181, allocations: 192.7 kB / 16.13 MB, free: 6.637 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.74/2.74, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002009, allocations: 63.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5739/0.5759, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00207/0.578, allocations: 0.6527 MB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.5784, allocations: 99.7 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.289e-05/0.5785, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.5785, allocations: 11.88 kB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.5785, allocations: 0 / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.5787, allocations: 15.98 kB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.5788, allocations: 4 kB / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.5788, allocations: 0 / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.5789, allocations: 4 kB / 1.017 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.5789, allocations: 7.984 kB / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.579, allocations: 0 / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.893e-05/0.579, allocations: 11.98 kB / 1.017 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.579, allocations: 7.938 kB / 1.017 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.5791, allocations: 11.98 kB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.5792, allocations: 7.984 kB / 1.017 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5792, allocations: 0 / 1.017 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5792, allocations: 0 / 1.017 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5792, allocations: 0 / 1.017 GB, free: 1.949 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.0004468/0.5796, allocations: 327.5 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5797, allocations: 8.031 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.5798, allocations: 8.922 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.58, allocations: 160.4 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.58, allocations: 12.31 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.58, allocations: 4.312 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.5802, allocations: 38.25 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5802, allocations: 4.172 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.5802, allocations: 3.938 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5802, allocations: 4 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.987e-05/0.5803, allocations: 11.98 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.5805, allocations: 149.7 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.5807, allocations: 50.55 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.5807, allocations: 12.91 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.5808, allocations: 0 / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.5808, allocations: 30.56 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.5808, allocations: 0 / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0002251/0.581, allocations: 65.61 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.5811, allocations: 51.41 kB / 1.018 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.991e-05/0.5812, allocations: 89.86 kB / 1.018 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.5812, allocations: 29.7 kB / 1.018 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.5812, allocations: 80.14 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.5813, allocations: 9.859 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.5813, allocations: 25.64 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5815, allocations: 314.8 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.5815, allocations: 4 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.5815, allocations: 11.98 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.5816, allocations: 24.78 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5816, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001167/0.5818, allocations: 45.69 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5818, allocations: 9.562 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5818, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5818, allocations: 7.938 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.5823, allocations: 47.86 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.584, allocations: 1.31 MB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.5841, allocations: 8.188 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.5841, allocations: 0 / 1.02 GB, free: 14.67 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 9.523e-05/0.5842, allocations: 106.4 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.5842, allocations: 11.94 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.836e-05/0.5842, allocations: 3.5 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5842, allocations: 3.938 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5842, allocations: 7.922 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5842, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.5844, allocations: 161.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5844, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.5848, allocations: 47.92 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5848, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5848, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.5862, allocations: 1.306 MB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5862, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.5864, allocations: 77.08 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.5864, allocations: 85.02 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-06/0.5864, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.287e-05/0.5865, allocations: 8.078 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.5865, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5865, allocations: 8 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.5865, allocations: 75.28 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5866, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001981/0.5868, allocations: 4 kB / 1.022 GB, free: 12.54 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.0001621/0.5869, allocations: 99.19 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.5874, allocations: 71.84 kB / 1.022 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5874, allocations: 0 / 1.022 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.5877, allocations: 35.95 kB / 1.022 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.5878, allocations: 8 kB / 1.022 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.5882, allocations: 95.2 kB / 1.022 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.5885, allocations: 0.6731 MB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.5886, allocations: 7.984 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.5886, allocations: 11.42 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5886, allocations: 4 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.00254/0.5911, allocations: 392.4 kB / 1.024 GB, free: 11.1 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