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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00657/0.00657, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.001329/0.001329, allocations: 195.7 kB / 16.67 MB, free: 5.977 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 72.11 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3151, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001893/0.3171, allocations: 0.5952 MB / 1.208 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003387/0.3174, allocations: 91.67 kB / 1.208 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.3175, allocations: 0 / 1.208 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.3175, allocations: 0 / 1.208 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.3176, allocations: 0 / 1.208 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.3179, allocations: 23.92 kB / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.3179, allocations: 11.98 kB / 1.208 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.318, allocations: 3.984 kB / 1.208 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.318, allocations: 4 kB / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.3181, allocations: 0 / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3181, allocations: 4 kB / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.3182, allocations: 15.98 kB / 1.208 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.3182, allocations: 4 kB / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.3183, allocations: 3.938 kB / 1.208 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.3184, allocations: 15.97 kB / 1.208 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3184, allocations: 4 kB / 1.208 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3184, allocations: 0 / 1.208 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3184, allocations: 0 / 1.208 GB, free: 9.34 MB / 0.9669 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.0004394/0.3188, allocations: 319.6 kB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3189, allocations: 8.625 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.3189, allocations: 38.75 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.3191, allocations: 8.922 kB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3193, allocations: 172.3 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3193, allocations: 4.375 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3193, allocations: 384 / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.3195, allocations: 42.25 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3195, allocations: 7.875 kB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3195, allocations: 0 / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3196, allocations: 0 / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3197, allocations: 11.98 kB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.3199, allocations: 153.7 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3201, allocations: 42.5 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.3202, allocations: 16.91 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3202, allocations: 0 / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.419e-05/0.3203, allocations: 34.56 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.3203, allocations: 0 / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002763/0.3206, allocations: 65.52 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3207, allocations: 55.34 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.3207, allocations: 93.8 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3207, allocations: 25.7 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.3208, allocations: 84.14 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.3208, allocations: 8.125 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3209, allocations: 13.72 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.321, allocations: 318.8 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.3211, allocations: 8 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.3211, allocations: 7.984 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.169e-05/0.3212, allocations: 20.86 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3213, allocations: 0 / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001383/0.3214, allocations: 49.67 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3214, allocations: 4 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3214, allocations: 3.938 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3215, allocations: 3.938 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.3219, allocations: 43.94 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.3235, allocations: 1.409 MB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.3235, allocations: 0 / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3235, allocations: 4.031 kB / 1.211 GB, free: 5.926 MB / 0.9669 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.468e-05/0.3236, allocations: 117.7 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.3237, allocations: 3.984 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.3237, allocations: 3.5 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3237, allocations: 0 / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.3237, allocations: 4 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3237, allocations: 4.062 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3239, allocations: 157.5 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3239, allocations: 4 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.3243, allocations: 39.94 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.3243, allocations: 4 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.3243, allocations: 4 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.3257, allocations: 1.405 MB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3257, allocations: 0 / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.3259, allocations: 77.2 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.3259, allocations: 77.11 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.3259, allocations: 3.938 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.326, allocations: 4 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.326, allocations: 3.984 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.326, allocations: 0 / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.3261, allocations: 75.28 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3261, allocations: 3.938 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002198/0.3263, allocations: 8 kB / 1.213 GB, free: 3.699 MB / 0.9669 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.0005641/0.3269, allocations: 0.6163 MB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.3274, allocations: 67.83 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3274, allocations: 0 / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.3276, allocations: 39.89 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.3278, allocations: 5.562 kB / 1.214 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.3284, allocations: 128.3 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3286, allocations: 0.6768 MB / 1.214 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.3287, allocations: 3.953 kB / 1.214 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.3287, allocations: 11.44 kB / 1.214 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3287, allocations: 0 / 1.214 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.3487, allocations: 1.307 MB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.5, allocations: 22.22 kB / 1.216 GB, free: 0.8867 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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