Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004713/0.004713, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001127/0.001127, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 61.38 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2772, allocations: 140.4 MB / 1.088 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001826/0.2791, allocations: 0.5843 MB / 1.088 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.2794, allocations: 87.78 kB / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.2794, allocations: 0 / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.2794, allocations: 3.938 kB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.2795, allocations: 4 kB / 1.088 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.2797, allocations: 15.98 kB / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.515e-05/0.2798, allocations: 7.984 kB / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.2798, allocations: 0 / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.2798, allocations: 4 kB / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.2799, allocations: 7.922 kB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2799, allocations: 0 / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.28, allocations: 19.92 kB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.28, allocations: 0 / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.28, allocations: 8 kB / 1.088 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.2801, allocations: 15.97 kB / 1.088 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2801, allocations: 0 / 1.088 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2801, allocations: 0 / 1.088 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2801, allocations: 3.938 kB / 1.088 GB, free: 1.191 MB / 0.8419 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.000336/0.2805, allocations: 321.7 kB / 1.089 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2805, allocations: 8.031 kB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.2806, allocations: 34.73 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.2807, allocations: 16.86 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.769e-05/0.2808, allocations: 160.4 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2809, allocations: 4.375 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2809, allocations: 4.359 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.281, allocations: 38.25 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.281, allocations: 7.938 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.2811, allocations: 0 / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2811, allocations: 3.938 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.2811, allocations: 15.98 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.2813, allocations: 145.7 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.2815, allocations: 46.61 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.2815, allocations: 16.91 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2816, allocations: 3.984 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.2816, allocations: 30.56 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2816, allocations: 4 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002169/0.2818, allocations: 65.55 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2819, allocations: 55.41 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.703e-05/0.2819, allocations: 89.86 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2819, allocations: 25.7 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.282, allocations: 80.14 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.282, allocations: 6.719 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2821, allocations: 21.7 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.2822, allocations: 314.8 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.2822, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.2822, allocations: 15.98 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.2823, allocations: 24.78 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2823, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001054/0.2824, allocations: 53.59 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2825, allocations: 4 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2825, allocations: 7.922 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2825, allocations: 4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.2829, allocations: 39.94 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.2841, allocations: 1.405 MB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.2842, allocations: 3.906 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2842, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 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 7.464e-05/0.2843, allocations: 117.8 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.2843, allocations: 3.938 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.371e-05/0.2843, allocations: 7.5 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2843, allocations: 8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.2843, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2843, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.108e-05/0.2844, allocations: 153.6 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2844, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.2848, allocations: 43.94 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2848, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2848, allocations: 11.98 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.2859, allocations: 1.4 MB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2859, allocations: 0 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.2861, allocations: 81.17 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.2861, allocations: 77.11 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.2861, allocations: 3.938 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.2862, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.2862, allocations: 11.98 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.2862, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.2862, allocations: 75.28 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2862, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001929/0.2864, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 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.0003822/0.2868, allocations: 0.6169 MB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.2873, allocations: 59.92 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2873, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.2875, allocations: 39.95 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.2877, allocations: 8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.2881, allocations: 126.6 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2884, allocations: 0.669 MB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.2884, allocations: 7.938 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.2885, allocations: 15.42 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of SimCode: time 1.492e-06/0.2885, allocations: 0 / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.3079, allocations: 1.289 MB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.26, allocations: 10.64 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches