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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_10_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.004657/0.004657, allocations: 100.5 kB / 15.73 MB, free: 6.016 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.001064/0.001064, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.731/2.731, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 72.09 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3065, allocations: 151.6 MB / 1.166 GB, free: 7.391 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002015/0.3085, allocations: 0.5922 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003534/0.3089, allocations: 95.72 kB / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.309, allocations: 0 / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.309, allocations: 0 / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.3091, allocations: 0 / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.3093, allocations: 19.92 kB / 1.167 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.224e-05/0.3094, allocations: 4 kB / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.3094, allocations: 3.984 kB / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.523e-05/0.3095, allocations: 4 kB / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.019e-05/0.3096, allocations: 11.92 kB / 1.167 GB, free: 6.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3096, allocations: 8 kB / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.359e-05/0.3097, allocations: 11.92 kB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.3097, allocations: 8 kB / 1.167 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.3097, allocations: 0 / 1.167 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.571e-05/0.3098, allocations: 11.97 kB / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3098, allocations: 0 / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3098, allocations: 0 / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3098, allocations: 0 / 1.167 GB, free: 6.621 MB / 0.92 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.0003748/0.3102, allocations: 330.3 kB / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3103, allocations: 8.031 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.3103, allocations: 42.69 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.3105, allocations: 12.88 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/0.3106, allocations: 160.4 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3106, allocations: 384 / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.3106, allocations: 4.375 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3108, allocations: 42.23 kB / 1.168 GB, free: 5.934 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3108, allocations: 3.938 kB / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3108, allocations: 0 / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3108, allocations: 0 / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.3109, allocations: 19.98 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.3111, allocations: 149.7 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3112, allocations: 42.53 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.3113, allocations: 12.92 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3113, allocations: 0 / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3114, allocations: 42.55 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3114, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000237/0.3116, allocations: 61.56 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.3117, allocations: 51.41 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.187e-05/0.3117, allocations: 93.84 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3117, allocations: 25.7 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.3118, allocations: 80.14 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.3118, allocations: 11.89 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.3119, allocations: 17.72 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.312, allocations: 310.8 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.312, allocations: 7.984 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.3121, allocations: 8 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.225e-05/0.3122, allocations: 25.12 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3122, allocations: 0 / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001238/0.3123, allocations: 57.61 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3123, allocations: 7.984 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3124, allocations: 7.938 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3124, allocations: 0 / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.3128, allocations: 39.94 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3141, allocations: 1.412 MB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/0.3142, allocations: 7.891 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.3142, allocations: 4.031 kB / 1.17 GB, free: 3.184 MB / 0.92 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.55e-05/0.3143, allocations: 113.9 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.3143, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.3143, allocations: 7.5 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3143, allocations: 4 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.3143, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3143, allocations: 3.984 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.3144, allocations: 149.6 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3144, allocations: 4 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.3148, allocations: 47.92 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3148, allocations: 4 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3148, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.3161, allocations: 1.408 MB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3161, allocations: 4 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.3162, allocations: 69.16 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.3162, allocations: 81.09 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.3163, allocations: 3.938 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.3163, allocations: 8 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.3163, allocations: 8 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3163, allocations: 0 / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.3164, allocations: 75.28 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3164, allocations: 0 / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002046/0.3166, allocations: 4 kB / 1.172 GB, free: 0.9648 MB / 0.92 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.0004056/0.317, allocations: 0.6124 MB / 1.172 GB, free: 328 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.3175, allocations: 67.84 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3175, allocations: 0 / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.3177, allocations: 39.95 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.3179, allocations: 0 / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.3183, allocations: 118.6 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3186, allocations: 0.6768 MB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.3186, allocations: 7.938 kB / 1.173 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.3187, allocations: 15.44 kB / 1.173 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.3187, allocations: 0 / 1.173 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.3394, allocations: 1.287 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.65, allocations: 14.77 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/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