Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_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.004857/0.004857, allocations: 97.62 kB / 15.73 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.001217/0.001217, allocations: 195 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.678/1.678, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.822/2.822, allocations: 469.4 MB / 0.7422 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 75.89 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3183, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001672/0.32, allocations: 0.5905 MB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.3203, allocations: 103.6 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.3203, allocations: 0 / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.3203, allocations: 0 / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.3204, allocations: 4 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3206, allocations: 15.92 kB / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.214e-05/0.3207, allocations: 4 kB / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.3207, allocations: 0 / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.3207, allocations: 7.984 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.3208, allocations: 3.984 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.3208, allocations: 8 kB / 1.221 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.3209, allocations: 11.98 kB / 1.221 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.3209, allocations: 4 kB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.3209, allocations: 7.938 kB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.361e-05/0.321, allocations: 11.98 kB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.321, allocations: 0 / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.321, allocations: 0 / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.321, allocations: 4 kB / 1.221 GB, free: 13.86 MB / 0.9825 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.0003182/0.3214, allocations: 323.5 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3214, allocations: 12.03 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.3215, allocations: 34.75 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.3216, allocations: 12.92 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.614e-05/0.3217, allocations: 170.2 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3217, allocations: 384 / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.3218, allocations: 384 / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3219, allocations: 46.19 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3219, allocations: 7.922 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.3219, allocations: 3.938 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3219, allocations: 4 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.399e-05/0.322, allocations: 15.98 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.3222, allocations: 145.7 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3223, allocations: 42.59 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.3224, allocations: 16.84 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3224, allocations: 11.98 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3225, allocations: 30.56 kB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3225, allocations: 0 / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002173/0.3227, allocations: 61.61 kB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.3227, allocations: 51.41 kB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.167e-05/0.3228, allocations: 89.86 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.3228, allocations: 25.7 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.223e-05/0.3228, allocations: 84.14 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.3229, allocations: 3.953 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.3229, allocations: 17.72 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.323, allocations: 310.8 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.323, allocations: 11.92 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.3231, allocations: 8 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.564e-05/0.3232, allocations: 24.84 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3232, allocations: 4 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001163/0.3233, allocations: 53.62 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3233, allocations: 5.562 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3233, allocations: 3.938 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3234, allocations: 0 / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.3238, allocations: 39.94 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.325, allocations: 1.405 MB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.325, allocations: 3.938 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.3251, allocations: 8.016 kB / 1.224 GB, free: 10.44 MB / 0.9825 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.159e-05/0.3251, allocations: 114.4 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-06/0.3252, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.3252, allocations: 11.48 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3252, allocations: 4 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3252, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3252, allocations: 3.938 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.442e-05/0.3253, allocations: 153.6 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3253, allocations: 3.938 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.3257, allocations: 55.86 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3257, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3257, allocations: 4 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3269, allocations: 1.412 MB / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3269, allocations: 0 / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.327, allocations: 69.11 kB / 1.225 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.327, allocations: 77.11 kB / 1.225 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-06/0.3271, allocations: 3.938 kB / 1.225 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.3271, allocations: 4 kB / 1.225 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.3271, allocations: 8.062 kB / 1.225 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3271, allocations: 0 / 1.225 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.3272, allocations: 79.27 kB / 1.225 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3272, allocations: 0 / 1.225 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001983/0.3274, allocations: 4 kB / 1.225 GB, free: 8.207 MB / 0.9825 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.000397/0.3278, allocations: 0.6192 MB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.3283, allocations: 59.92 kB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3283, allocations: 0 / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.3285, allocations: 40.08 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3287, allocations: 4 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.3291, allocations: 122.5 kB / 1.226 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3293, allocations: 0.6768 MB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.3294, allocations: 4 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.3294, allocations: 11.44 kB / 1.227 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.3294, allocations: 0 / 1.227 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.3467, allocations: 1.305 MB / 1.228 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.5, allocations: 10.53 kB / 1.228 GB, free: 5.414 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches