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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001022/0.001021, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008167/0.008167, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.655/2.655, allocations: 443.3 MB / 0.7176 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 9.625 kB / 0.8797 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2492, allocations: 155.2 MB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001851/0.2511, allocations: 1.343 MB / 1.033 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006897/0.2518, allocations: 340.5 kB / 1.033 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.2519, allocations: 0 / 1.033 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.2519, allocations: 7.922 kB / 1.033 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/0.252, allocations: 15.86 kB / 1.033 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.2523, allocations: 67.88 kB / 1.033 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.2524, allocations: 111.5 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2525, allocations: 32.25 kB / 1.033 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.2526, allocations: 31.86 kB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.2527, allocations: 39.83 kB / 1.033 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.2527, allocations: 4 kB / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.2528, allocations: 27.92 kB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.2528, allocations: 15.98 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.2529, allocations: 69.42 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.253, allocations: 99.59 kB / 1.033 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2531, allocations: 0 / 1.033 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2531, allocations: 0 / 1.033 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2531, allocations: 0 / 1.033 GB, free: 1.938 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.0005209/0.2536, allocations: 396.8 kB / 1.034 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2536, allocations: 20.02 kB / 1.034 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.2537, allocations: 34.75 kB / 1.034 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.255, allocations: 176.6 kB / 1.034 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2552, allocations: 188.2 kB / 1.034 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2552, allocations: 4.375 kB / 1.034 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.2552, allocations: 16.36 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.2559, allocations: 178.1 kB / 1.034 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2559, allocations: 3.938 kB / 1.034 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2559, allocations: 0 / 1.034 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2559, allocations: 4 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.2568, allocations: 215.7 kB / 1.035 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.258, allocations: 480.4 kB / 1.035 GB, free: 108 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.2591, allocations: 218.4 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.2595, allocations: 76.86 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2595, allocations: 4 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2595, allocations: 38.48 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2595, allocations: 0 / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.001203/0.2607, allocations: 257.3 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.2608, allocations: 59.34 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.261, allocations: 180.6 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2611, allocations: 33.7 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.2611, allocations: 111.9 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2611, allocations: 7.844 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.2612, allocations: 13.72 kB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2613, allocations: 322.8 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.2618, allocations: 91.91 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.2623, allocations: 114.5 kB / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/0.2631, allocations: 174.4 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2631, allocations: 0 / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001004/0.2641, allocations: 245.4 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.2642, allocations: 106.7 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.2642, allocations: 4 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2642, allocations: 4 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.2645, allocations: 51.92 kB / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.2645, allocations: 0 / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.2649, allocations: 47.86 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.2649, allocations: 7.984 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.265, allocations: 4.781 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000385/0.2653, allocations: 103.9 kB / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.2654, allocations: 64 / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-06/0.2654, allocations: 4 kB / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2655, allocations: 27.92 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2655, allocations: 3.938 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.2657, allocations: 27.81 kB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.2657, allocations: 8.125 kB / 1.037 GB, free: 13.69 MB / 0.795 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.0001197/0.2658, allocations: 193.1 kB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.2659, allocations: 7.906 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.2659, allocations: 20.23 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.266, allocations: 3.938 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.266, allocations: 0 / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.266, allocations: 0 / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.2662, allocations: 213.5 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2662, allocations: 4 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.2665, allocations: 31.95 kB / 1.038 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2665, allocations: 0 / 1.038 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2665, allocations: 11.92 kB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2665, allocations: 3.938 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2665, allocations: 7.938 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.2673, allocations: 279.4 kB / 1.038 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.2674, allocations: 96.98 kB / 1.038 GB, free: 12.74 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.2674, allocations: 4 kB / 1.038 GB, free: 12.74 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.2677, allocations: 43.89 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.2678, allocations: 0 / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.2678, allocations: 0 / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002037/0.268, allocations: 149.6 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/0.268, allocations: 0 / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003274/0.2683, allocations: 35.91 kB / 1.038 GB, free: 12.52 MB / 0.795 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.001042/0.2694, allocations: 0.8138 MB / 1.039 GB, free: 11.67 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.2704, allocations: 231.9 kB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2704, allocations: 0 / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.2708, allocations: 80.03 kB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2711, allocations: 15.88 kB / 1.039 GB, free: 11.35 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.2751, allocations: 2.009 MB / 1.041 GB, free: 9.254 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.2753, allocations: 0.6965 MB / 1.042 GB, free: 8.531 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.2755, allocations: 27.98 kB / 1.042 GB, free: 8.504 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.2756, allocations: 31.41 kB / 1.042 GB, free: 8.473 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.2756, allocations: 0 / 1.042 GB, free: 8.473 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.098/1.374, allocations: 2.662 MB / 1.045 GB, free: 5.957 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/1.374, allocations: 219.7 kB / 1.045 GB, free: 5.699 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/3.332, allocations: 0 / 1.045 GB, free: 5.699 MB / 0.795 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