Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 104.7 kB / 16.27 MB, free: 6.004 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.001254/0.001254, allocations: 187.3 kB / 17.2 MB, free: 5.613 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.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.564/2.564, allocations: 437.1 MB / 0.711 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 72.08 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002675/0.2969, allocations: 1.449 MB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002554/0.2972, allocations: 88.59 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.2973, allocations: 0 / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.2973, allocations: 0 / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.2973, allocations: 3.938 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.2975, allocations: 11.98 kB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.28e-05/0.2976, allocations: 31.91 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.2977, allocations: 4 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.2977, allocations: 19.92 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.2978, allocations: 15.92 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.2978, allocations: 0 / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.2979, allocations: 11.98 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.2979, allocations: 8 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.2979, allocations: 7.938 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.962e-05/0.298, allocations: 39.88 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.298, allocations: 0 / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.123e-06/0.298, allocations: 7.938 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.298, allocations: 0 / 1.02 GB, free: 8.906 MB / 0.795 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.0004878/0.2985, allocations: 347.6 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2986, allocations: 12.92 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.2987, allocations: 12.92 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.2989, allocations: 160.4 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.2989, allocations: 384 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.2989, allocations: 4.375 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.2991, allocations: 54.22 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2991, allocations: 4.188 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2992, allocations: 11.94 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2992, allocations: 0 / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.2994, allocations: 43.94 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.2998, allocations: 264.8 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3, allocations: 58.48 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3001, allocations: 28.89 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3001, allocations: 4 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3001, allocations: 30.56 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3001, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0004485/0.3006, allocations: 113.5 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.3006, allocations: 51.41 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.3007, allocations: 105.8 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3008, allocations: 25.7 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.3008, allocations: 88.08 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.3008, allocations: 7.844 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.3009, allocations: 21.83 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.301, allocations: 314.8 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.3011, allocations: 23.97 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.3012, allocations: 19.98 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.3015, allocations: 52.88 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3015, allocations: 0 / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002535/0.3017, allocations: 89.52 kB / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3017, allocations: 4 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3018, allocations: 0 / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3018, allocations: 0 / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3019, allocations: 16.02 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3019, allocations: 0 / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.302, allocations: 11.98 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.302, allocations: 256 / 1.022 GB, free: 6.738 MB / 0.795 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.3021, allocations: 114.9 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.3021, allocations: 7.906 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.3021, allocations: 3.531 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3021, allocations: 0 / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3021, allocations: 4 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3022, allocations: 4 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3023, allocations: 173.6 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3023, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.3024, allocations: 11.98 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3025, allocations: 3.984 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3025, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3025, allocations: 3.938 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3025, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.3028, allocations: 175.5 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.3028, allocations: 81.09 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3029, allocations: 4 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.303, allocations: 7.984 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.303, allocations: 4 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.303, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.3031, allocations: 87.31 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3031, allocations: 3.938 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002175/0.3033, allocations: 4 kB / 1.022 GB, free: 5.965 MB / 0.795 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001122/0.3034, allocations: 107.2 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.3037, allocations: 47.89 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3037, allocations: 4.062 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3038, allocations: 27.97 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3041, allocations: 11.94 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.3044, allocations: 147.7 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3047, allocations: 0.6807 MB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.3048, allocations: 7.438 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3048, allocations: 0 / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of Templates: time 0.002131/0.3069, allocations: 0.6327 MB / 1.024 GB, free: 4.238 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches