Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_10_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.00111/0.00111, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009129/0.009129, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.762/2.762, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 11.98 kB / 0.873 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.6666, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001891/0.6686, allocations: 1.344 MB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006978/0.6693, allocations: 342 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.6693, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.6694, allocations: 3.938 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.6695, allocations: 15.86 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.6698, allocations: 71.86 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.6699, allocations: 99.64 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.6701, allocations: 35.97 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.6701, allocations: 27.88 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.6702, allocations: 39.77 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.6703, allocations: 4 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.6704, allocations: 31.97 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.6704, allocations: 15.92 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.6705, allocations: 65.5 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.6706, allocations: 101.8 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.6706, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6706, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.6707, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 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.0005355/0.6712, allocations: 399.1 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6712, allocations: 12.03 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.6713, allocations: 42.73 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.6727, allocations: 172.6 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.6729, allocations: 184.2 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.6729, allocations: 384 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.673, allocations: 12.38 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.6737, allocations: 182 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.6737, allocations: 3.938 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.6737, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6737, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009929/0.6747, allocations: 207.8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.676, allocations: 484.2 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.6772, allocations: 214.4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/0.6776, allocations: 84.78 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.6776, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.6777, allocations: 30.56 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 4.659e-06/0.6777, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001321/0.679, allocations: 269.1 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.6791, allocations: 51.41 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.6794, allocations: 192.3 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.6794, allocations: 29.7 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/0.6795, allocations: 111.9 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.6795, allocations: 7.891 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.6796, allocations: 17.72 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6797, allocations: 318.8 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.6802, allocations: 87.92 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.6807, allocations: 118.5 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.6815, allocations: 178.4 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6815, allocations: 0 / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001083/0.6826, allocations: 245.4 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/0.6827, allocations: 106.7 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6827, allocations: 4 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6827, allocations: 4.062 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.6831, allocations: 51.94 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6831, allocations: 0 / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.6835, allocations: 55.8 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.6836, allocations: 7.922 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.6836, allocations: 4 kB / 1.029 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004237/0.684, allocations: 103.9 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.684, allocations: 0 / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.067e-06/0.684, allocations: 4.062 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.6842, allocations: 27.97 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6842, allocations: 3.938 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.6844, allocations: 19.89 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.6844, allocations: 7.984 kB / 1.029 GB, free: 9.438 MB / 0.7794 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.0001461/0.6846, allocations: 193.7 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.6846, allocations: 7.906 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.6847, allocations: 12.25 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6847, allocations: 3.938 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6847, allocations: 0 / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.6847, allocations: 0 / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.685, allocations: 213.5 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.685, allocations: 7.938 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.6852, allocations: 35.95 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.6853, allocations: 3.984 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.6853, allocations: 7.938 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6853, allocations: 3.938 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6853, allocations: 0 / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.6862, allocations: 283.3 kB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.6863, allocations: 96.98 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.6864, allocations: 0 / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.6867, allocations: 39.91 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.6867, allocations: 3.984 kB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.6867, allocations: 4.062 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001995/0.6869, allocations: 146.5 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.687, allocations: 0 / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003439/0.6873, allocations: 32 kB / 1.03 GB, free: 8.27 MB / 0.7794 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.001125/0.6884, allocations: 0.8218 MB / 1.031 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.6896, allocations: 235.8 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.6896, allocations: 0 / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.69, allocations: 79.98 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.6904, allocations: 11.94 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.6949, allocations: 2.017 MB / 1.033 GB, free: 5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.6952, allocations: 0.7043 MB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001781/0.6954, allocations: 20 kB / 1.034 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.6955, allocations: 35.39 kB / 1.034 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of SimCode: time 8.22e-07/0.6956, allocations: 0 / 1.034 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.71, allocations: 2.655 MB / 1.037 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.7103, allocations: 209.2 kB / 1.037 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.568, allocations: 0 / 1.037 GB, free: 1.453 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches