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.001498/0.001499, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 469.4 MB / 0.742 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.66 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3525, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002161/0.3547, allocations: 0.5994 MB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.355, allocations: 107.6 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.355, allocations: 0 / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.3551, allocations: 0 / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.3551, allocations: 0 / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.3554, allocations: 19.91 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.3554, allocations: 8 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.3555, allocations: 4 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.3555, allocations: 0 / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.3556, allocations: 4 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.3556, allocations: 0 / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.3557, allocations: 15.98 kB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.3557, allocations: 7.922 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.3557, allocations: 3.984 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.3558, allocations: 15.98 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3559, allocations: 4 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3559, allocations: 4 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.3559, allocations: 0 / 1.064 GB, free: 13.75 MB / 0.8262 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.0003473/0.3562, allocations: 311.6 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3563, allocations: 12.03 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.3563, allocations: 34.75 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.3565, allocations: 8.922 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3566, allocations: 164.3 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3566, allocations: 384 / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3567, allocations: 12.31 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3568, allocations: 38.25 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3568, allocations: 3.938 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.3568, allocations: 0 / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3568, allocations: 0 / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.3569, allocations: 11.98 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.3571, allocations: 153.7 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3573, allocations: 46.53 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.3574, allocations: 16.92 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3574, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3574, allocations: 30.56 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3574, allocations: 0 / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002191/0.3576, allocations: 61.61 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3577, allocations: 55.34 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.083e-05/0.3577, allocations: 89.86 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.3577, allocations: 29.7 kB / 1.065 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.3578, allocations: 80.14 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.3578, allocations: 23.95 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3579, allocations: 9.719 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.358, allocations: 318.8 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.358, allocations: 8 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.3581, allocations: 7.984 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.106e-05/0.3581, allocations: 25.11 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3582, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001212/0.3583, allocations: 45.69 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3583, allocations: 4 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3583, allocations: 3.938 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3583, allocations: 7.938 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.3588, allocations: 47.92 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.3602, allocations: 1.397 MB / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.3602, allocations: 12.02 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3603, allocations: 0 / 1.067 GB, free: 10.34 MB / 0.8262 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.857e-05/0.3603, allocations: 115.5 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.3604, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.3604, allocations: 7.5 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3604, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3604, allocations: 8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3604, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.3605, allocations: 157.6 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3605, allocations: 0 / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.3609, allocations: 47.92 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3609, allocations: 4 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.3609, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.3621, allocations: 1.416 MB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3621, allocations: 4 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.3623, allocations: 73.25 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.3623, allocations: 77.11 kB / 1.069 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.3624, allocations: 7.938 kB / 1.069 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.3624, allocations: 3.984 kB / 1.069 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.3624, allocations: 0 / 1.069 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3624, allocations: 4 kB / 1.069 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.495e-05/0.3625, allocations: 75.28 kB / 1.069 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3625, allocations: 7.938 kB / 1.069 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001937/0.3627, allocations: 4 kB / 1.069 GB, free: 8.102 MB / 0.8262 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.0004004/0.3631, allocations: 0.609 MB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004949/0.3636, allocations: 63.91 kB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3636, allocations: 3.938 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.3638, allocations: 43.89 kB / 1.07 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.364, allocations: 4 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.3645, allocations: 130.5 kB / 1.07 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.3648, allocations: 0.6729 MB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.3649, allocations: 3.984 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.3649, allocations: 11.44 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3649, allocations: 4 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.3883, allocations: 1.245 MB / 1.072 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.98, allocations: 14.67 kB / 1.072 GB, free: 5.34 MB / 0.8262 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