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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.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.007645/0.007645, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.001979/0.001979, allocations: 199.1 kB / 16.68 MB, free: 5.965 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.89 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3012, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003239/0.3044, allocations: 1.622 MB / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.3053, allocations: 343 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.3054, allocations: 3.938 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.3054, allocations: 11.92 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.3055, allocations: 19.8 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.3059, allocations: 79.78 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3061, allocations: 111.6 kB / 1.244 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3062, allocations: 31.98 kB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.3063, allocations: 39.84 kB / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.3064, allocations: 43.78 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3065, allocations: 8 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.3066, allocations: 39.97 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.3066, allocations: 19.91 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.3067, allocations: 43.8 kB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3069, allocations: 107.5 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3069, allocations: 8 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3069, allocations: 0 / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3069, allocations: 4 kB / 1.244 GB, free: 7.723 MB / 0.9981 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.000605/0.3075, allocations: 403 kB / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3076, allocations: 12.03 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.596e-05/0.3076, allocations: 34.75 kB / 1.244 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.309, allocations: 172.6 kB / 1.245 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3092, allocations: 180.2 kB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3092, allocations: 4.375 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.3092, allocations: 12.31 kB / 1.245 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.3099, allocations: 171 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3099, allocations: 3.938 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3099, allocations: 3.938 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3099, allocations: 4 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009262/0.3108, allocations: 183.8 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3121, allocations: 480.2 kB / 1.246 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3132, allocations: 186.4 kB / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.3136, allocations: 68.84 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3136, allocations: 4 kB / 1.246 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3136, allocations: 34.5 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3137, allocations: 0 / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.001186/0.3148, allocations: 225.4 kB / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3149, allocations: 51.41 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.3152, allocations: 187.8 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3152, allocations: 25.7 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.3153, allocations: 111.9 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.3153, allocations: 15.94 kB / 1.246 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.3154, allocations: 29.69 kB / 1.246 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3155, allocations: 318.8 kB / 1.247 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.316, allocations: 96.7 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.3165, allocations: 102.4 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/0.3173, allocations: 150.4 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3173, allocations: 0 / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001015/0.3184, allocations: 225.4 kB / 1.247 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3184, allocations: 5.875 kB / 1.247 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3184, allocations: 8 kB / 1.247 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3184, allocations: 4 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.3188, allocations: 43.88 kB / 1.247 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3188, allocations: 7.984 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.3192, allocations: 43.89 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.3192, allocations: 3.984 kB / 1.247 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002359/0.3194, allocations: 128.9 kB / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002074/0.3196, allocations: 74.12 kB / 1.248 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002878/0.3199, allocations: 113.8 kB / 1.248 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.51e-07/0.32, allocations: 0 / 1.248 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004549/0.3204, allocations: 141.5 kB / 1.248 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.3204, allocations: 4 kB / 1.248 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-06/0.3204, allocations: 0 / 1.248 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.3205, allocations: 11.92 kB / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.3206, allocations: 19.98 kB / 1.248 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3206, allocations: 7.938 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.3209, allocations: 24.09 kB / 1.248 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3209, allocations: 4 kB / 1.248 GB, free: 3.363 MB / 0.9981 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.0001096/0.321, allocations: 180.8 kB / 1.248 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.321, allocations: 7.953 kB / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.3211, allocations: 24.17 kB / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3211, allocations: 0 / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3211, allocations: 0 / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3211, allocations: 4 kB / 1.248 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.3214, allocations: 201.6 kB / 1.248 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3214, allocations: 0 / 1.248 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.3216, allocations: 27.95 kB / 1.248 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3217, allocations: 8 kB / 1.248 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3217, allocations: 7.922 kB / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3217, allocations: 0 / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3217, allocations: 0 / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.3225, allocations: 271.2 kB / 1.249 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.263e-05/0.3226, allocations: 93.05 kB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.3226, allocations: 3.938 kB / 1.249 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.3229, allocations: 23.95 kB / 1.249 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.323, allocations: 4 kB / 1.249 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.323, allocations: 7.922 kB / 1.249 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002082/0.3232, allocations: 155.1 kB / 1.249 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3232, allocations: 0 / 1.249 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003486/0.3236, allocations: 36 kB / 1.249 GB, free: 2.23 MB / 0.9981 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.001151/0.3247, allocations: 0.7944 MB / 1.25 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.3258, allocations: 211.8 kB / 1.25 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3259, allocations: 4 kB / 1.25 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.3262, allocations: 68.42 kB / 1.25 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.3266, allocations: 8 kB / 1.25 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5474/0.874, allocations: 1.935 MB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.8741, allocations: 0.6952 MB / 1.253 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.8743, allocations: 25.28 kB / 1.253 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.917e-05/0.8744, allocations: 33.69 kB / 1.253 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.8744, allocations: 0 / 1.253 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.8991, allocations: 2.993 MB / 1.255 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.565, allocations: 11.7 kB / 1.255 GB, free: 13.12 MB / 0.9981 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 400 --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