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.005203/0.005203, 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.001183/0.001183, allocations: 194.9 kB / 16.67 MB, free: 5.961 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 63.91 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3667, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002809/0.3696, allocations: 1.622 MB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007204/0.3703, allocations: 335.5 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.3704, allocations: 4 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.3705, allocations: 7.922 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.229e-05/0.3706, allocations: 19.78 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.371, allocations: 91.72 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.3711, allocations: 107.5 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.3713, allocations: 35.92 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.3714, allocations: 35.86 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.3715, allocations: 47.78 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.3715, allocations: 8 kB / 1.21 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3716, allocations: 43.95 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.3717, allocations: 23.86 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.3717, allocations: 39.8 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.3719, allocations: 115.8 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3719, allocations: 0 / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3719, allocations: 0 / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.3719, allocations: 0 / 1.21 GB, free: 7.598 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000584/0.3725, allocations: 407.1 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3726, allocations: 8.625 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3726, allocations: 46.73 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.3741, allocations: 156.6 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3743, allocations: 184.2 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3743, allocations: 384 / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.3744, allocations: 12.38 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.375, allocations: 173.9 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3751, allocations: 11.94 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.3751, allocations: 11.94 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3751, allocations: 0 / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.3761, allocations: 183.8 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.3773, allocations: 476.3 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.3784, allocations: 182.4 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.3788, allocations: 68.84 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3788, allocations: 0 / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3789, allocations: 34.56 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 4.288e-06/0.3789, allocations: 3.984 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.001198/0.3801, allocations: 225.2 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.3801, allocations: 51.41 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.3804, allocations: 190.2 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3804, allocations: 29.7 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.3805, allocations: 104 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.3805, allocations: 11.83 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.3806, allocations: 37.59 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3807, allocations: 318.8 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.3812, allocations: 84.77 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.3816, allocations: 98.48 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007749/0.3824, allocations: 162.4 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3824, allocations: 0 / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001009/0.3835, allocations: 217.4 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3835, allocations: 8 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3835, allocations: 3.938 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3835, allocations: 0 / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.3839, allocations: 47.88 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3839, allocations: 4 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.3843, allocations: 43.89 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.3844, allocations: 7.984 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002139/0.3846, allocations: 120 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001865/0.3848, allocations: 81.97 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002543/0.385, allocations: 97.91 kB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.385, allocations: 3.938 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004278/0.3855, allocations: 145.3 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3855, allocations: 9.25 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.3855, allocations: 224 / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.3855, allocations: 11.94 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.3857, allocations: 23.97 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3857, allocations: 0 / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.386, allocations: 23.86 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.386, allocations: 7.984 kB / 1.214 GB, free: 3.246 MB / 0.9669 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.0001202/0.3861, allocations: 188.3 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.3862, allocations: 7.969 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.3862, allocations: 16.19 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3862, allocations: 0 / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3862, allocations: 0 / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3863, allocations: 0 / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.3865, allocations: 209.6 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3865, allocations: 0 / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.3868, allocations: 31.95 kB / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3868, allocations: 3.984 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3868, allocations: 3.938 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3868, allocations: 4 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3868, allocations: 0 / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.3876, allocations: 259.2 kB / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.3877, allocations: 101 kB / 1.214 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.3878, allocations: 3.938 kB / 1.214 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.3881, allocations: 27.97 kB / 1.214 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3881, allocations: 0 / 1.214 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3882, allocations: 7.984 kB / 1.215 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001981/0.3884, allocations: 141.4 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3884, allocations: 0 / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003915/0.3888, allocations: 43.91 kB / 1.215 GB, free: 2.125 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): 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.001098/0.3899, allocations: 0.7903 MB / 1.215 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.391, allocations: 212 kB / 1.216 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.391, allocations: 0 / 1.216 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.3913, allocations: 72.05 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3917, allocations: 12.3 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.3959, allocations: 1.938 MB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.3962, allocations: 0.6924 MB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.3964, allocations: 31.97 kB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3965, allocations: 31.41 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.3965, allocations: 0 / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.4182, allocations: 3.048 MB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.603, allocations: 16.05 kB / 1.221 GB, free: 11.27 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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