Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.001509/0.001509, 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.001673/0.001674, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.93/2.93, allocations: 469.4 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.25 kB / 0.9083 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2926, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003532/0.2962, allocations: 1.63 MB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008016/0.297, allocations: 340.7 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.2971, allocations: 0 / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.2972, allocations: 3.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2973, allocations: 23.78 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.2977, allocations: 75.78 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.2978, allocations: 107.6 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.298, allocations: 23.98 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2981, allocations: 51.84 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.2983, allocations: 43.78 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.2983, allocations: 11.94 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.2984, allocations: 39.97 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.2985, allocations: 19.91 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.641e-05/0.2985, allocations: 43.8 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.2988, allocations: 107.9 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2988, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2988, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.2988, allocations: 0 / 1.066 GB, free: 11.98 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006952/0.2995, allocations: 407.1 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.2996, allocations: 8.031 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.819e-05/0.2996, allocations: 42.69 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.3011, allocations: 164.6 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.3013, allocations: 188.2 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.3013, allocations: 4.375 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.3013, allocations: 8.375 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.302, allocations: 166.1 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.302, allocations: 7.938 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.3021, allocations: 7.984 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3021, allocations: 0 / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009272/0.303, allocations: 183.8 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.3043, allocations: 472.2 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.3055, allocations: 186.4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.3059, allocations: 76.77 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3059, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.306, allocations: 34.56 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.306, allocations: 4 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001279/0.3073, allocations: 225.3 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3073, allocations: 51.41 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.3076, allocations: 191.1 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3076, allocations: 25.7 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.3077, allocations: 107.9 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3078, allocations: 11.83 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.3078, allocations: 29.69 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.308, allocations: 322.8 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.3085, allocations: 84.77 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.309, allocations: 114.5 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000816/0.3098, allocations: 154.4 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3098, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001022/0.3108, allocations: 217.4 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3109, allocations: 8 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3109, allocations: 3.938 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3109, allocations: 0 / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.3113, allocations: 47.86 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3113, allocations: 8 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.3117, allocations: 35.86 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3117, allocations: 7.984 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002449/0.312, allocations: 125.4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002032/0.3122, allocations: 81.91 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002902/0.3125, allocations: 97.91 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.3125, allocations: 4 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004567/0.313, allocations: 137.4 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.313, allocations: 11.98 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.313, allocations: 0 / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.313, allocations: 7.938 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3132, allocations: 19.98 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.3132, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3135, allocations: 32.03 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3135, allocations: 4 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.3136, allocations: 184.2 kB / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.3136, allocations: 19.73 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.3137, allocations: 16.19 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3137, allocations: 4 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3137, allocations: 0 / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3137, allocations: 0 / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.314, allocations: 205.6 kB / 1.07 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.314, allocations: 0 / 1.07 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3142, allocations: 36.02 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3142, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3143, allocations: 11.92 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3143, allocations: 4.312 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3143, allocations: 0 / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008292/0.3151, allocations: 251.3 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.3152, allocations: 97 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3153, allocations: 3.938 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.3156, allocations: 27.95 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3156, allocations: 4 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3156, allocations: 11.92 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001877/0.3158, allocations: 148 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3158, allocations: 0 / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003591/0.3162, allocations: 36 kB / 1.071 GB, free: 6.504 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.3173, allocations: 0.7911 MB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.3184, allocations: 207.7 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3184, allocations: 3.938 kB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.3188, allocations: 72.47 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3191, allocations: 9.812 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.3233, allocations: 1.932 MB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.3235, allocations: 0.6924 MB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.3237, allocations: 27.98 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3238, allocations: 31.41 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of SimCode: time 4.7e-07/0.3238, allocations: 0 / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.3421, allocations: 2.959 MB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.162, allocations: 2.719 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_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_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches