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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008052/0.008052, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.001781/0.001782, allocations: 199.1 kB / 16.67 MB, free: 5.523 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 60.12 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8921/0.8935, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.004363/0.8979, allocations: 1.639 MB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.899, allocations: 331.9 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.8991, allocations: 3.938 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.512e-05/0.8992, allocations: 11.86 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.8993, allocations: 19.8 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.8998, allocations: 79.84 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.9, allocations: 107.6 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.9002, allocations: 35.97 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.9004, allocations: 43.8 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.9005, allocations: 39.84 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.9005, allocations: 8 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.9007, allocations: 39.95 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.9008, allocations: 23.92 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.9009, allocations: 43.73 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.9011, allocations: 113.8 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.9012, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9012, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.9012, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 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.000809/0.902, allocations: 407.1 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.9021, allocations: 12.62 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.9022, allocations: 38.75 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.9044, allocations: 164.6 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.9046, allocations: 180.2 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.9046, allocations: 8.375 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.9047, allocations: 4.375 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/0.9057, allocations: 170.1 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.9057, allocations: 7.922 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.9058, allocations: 4 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.9058, allocations: 0 / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.9074, allocations: 193.9 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.9093, allocations: 488 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.9111, allocations: 194.3 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.9117, allocations: 64.86 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.9117, allocations: 3.984 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.9118, allocations: 34.56 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.9118, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.00154/0.9133, allocations: 217.3 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.9134, allocations: 59.34 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.9137, allocations: 188.4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.9137, allocations: 25.7 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.9138, allocations: 111.9 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.9138, allocations: 7.906 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.9139, allocations: 29.69 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.914, allocations: 318.8 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.9144, allocations: 96.7 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.9149, allocations: 106.5 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.9156, allocations: 154.4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.9156, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009247/0.9166, allocations: 217.4 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.9166, allocations: 8 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9166, allocations: 3.938 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.9166, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.917, allocations: 43.94 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.917, allocations: 3.984 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.9174, allocations: 43.8 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.9174, allocations: 8 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002245/0.9176, allocations: 124.1 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001773/0.9178, allocations: 73.98 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002599/0.9181, allocations: 113.9 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.153e-06/0.9181, allocations: 0 / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004016/0.9185, allocations: 129.5 kB / 1.172 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.9185, allocations: 8 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.9185, allocations: 4 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.9185, allocations: 7.938 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.9187, allocations: 35.84 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.9187, allocations: 0 / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.919, allocations: 32 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.919, allocations: 4 kB / 1.173 GB, free: 12.88 MB / 0.9044 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.0001186/0.9191, allocations: 176.3 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.9191, allocations: 7.906 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.9192, allocations: 20.17 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9192, allocations: 4 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.9192, allocations: 0 / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.9192, allocations: 0 / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.9195, allocations: 209.6 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9195, allocations: 0 / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.9197, allocations: 31.89 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.9197, allocations: 0 / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.9198, allocations: 15.92 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.9198, allocations: 0 / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9198, allocations: 0 / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.9205, allocations: 247.5 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.9206, allocations: 105 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.9207, allocations: 11.94 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.921, allocations: 23.95 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.921, allocations: 0 / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.921, allocations: 11.92 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000185/0.9212, allocations: 150.1 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9212, allocations: 0 / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003596/0.9216, allocations: 32 kB / 1.174 GB, free: 11.75 MB / 0.9044 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.001054/0.9227, allocations: 0.8018 MB / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009988/0.9237, allocations: 207.7 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9237, allocations: 0 / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.924, allocations: 68.48 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.9244, allocations: 8 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.9284, allocations: 1.936 MB / 1.177 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.9287, allocations: 0.6963 MB / 1.177 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.9289, allocations: 19.98 kB / 1.177 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.929, allocations: 35.41 kB / 1.177 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of SimCode: time 4.1e-07/0.929, allocations: 0 / 1.177 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.9494, allocations: 3.01 MB / 1.18 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/9.002, allocations: 8.25 kB / 1.18 GB, free: 4.953 MB / 0.9044 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