Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_9_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.0009488/0.0009488, allocations: 98.19 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.007268/0.007269, allocations: 173.7 kB / 16.27 MB, free: 6.648 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5304, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001249/0.5317, allocations: 1.317 MB / 0.9565 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004767/0.5322, allocations: 317.4 kB / 0.9568 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.5323, allocations: 1.406 kB / 0.9568 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.5323, allocations: 3.938 kB / 0.9568 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.717e-05/0.5324, allocations: 18.19 kB / 0.9568 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.5326, allocations: 55.08 kB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.5327, allocations: 99.23 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.5328, allocations: 39.19 kB / 0.957 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.5328, allocations: 34.05 kB / 0.957 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.5329, allocations: 36.38 kB / 0.957 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.5329, allocations: 3.344 kB / 0.957 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.533, allocations: 20.27 kB / 0.9571 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.533, allocations: 18.94 kB / 0.9571 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.533, allocations: 64.62 kB / 0.9571 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.5332, allocations: 87.3 kB / 0.9572 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5332, allocations: 1.438 kB / 0.9572 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5332, allocations: 0 / 0.9572 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.5332, allocations: 0 / 0.9572 GB, free: 6.105 MB / 0.7169 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.0003664/0.5335, allocations: 399.2 kB / 0.9576 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.5336, allocations: 9.062 kB / 0.9576 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.685e-05/0.5336, allocations: 41.28 kB / 0.9577 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/0.5345, allocations: 138.4 kB / 0.9578 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.596e-05/0.5346, allocations: 177.3 kB / 0.958 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5346, allocations: 7.781 kB / 0.958 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.5346, allocations: 9.125 kB / 0.958 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.5351, allocations: 161 kB / 0.9581 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5351, allocations: 3.938 kB / 0.9581 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5352, allocations: 9.688 kB / 0.9581 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5352, allocations: 2.031 kB / 0.9581 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006816/0.5358, allocations: 175.7 kB / 0.9583 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/0.5366, allocations: 456.4 kB / 0.9587 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/0.5373, allocations: 153.4 kB / 0.9589 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.5376, allocations: 91.66 kB / 0.959 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.5376, allocations: 1.375 kB / 0.959 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.5376, allocations: 34.56 kB / 0.959 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.5376, allocations: 0 / 0.959 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001074/0.5387, allocations: 282.9 kB / 0.9593 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.5388, allocations: 52.78 kB / 0.9593 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/0.5388, allocations: 159.7 kB / 0.9595 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.5389, allocations: 25.7 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.5389, allocations: 104.2 kB / 0.9596 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.5389, allocations: 22.34 kB / 0.9596 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.539, allocations: 23.08 kB / 0.9596 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.376e-05/0.539, allocations: 317.6 kB / 0.96 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.5393, allocations: 78.67 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.5397, allocations: 85.88 kB / 0.9601 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/0.5403, allocations: 157.9 kB / 0.9603 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5403, allocations: 0 / 0.9603 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007173/0.5411, allocations: 212.5 kB / 0.9605 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.5411, allocations: 98.8 kB / 0.9606 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.5411, allocations: 4 kB / 0.9606 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.5411, allocations: 0.7812 kB / 0.9606 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.5414, allocations: 43.67 kB / 0.9606 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5414, allocations: 0 / 0.9606 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.5416, allocations: 38.69 kB / 0.9606 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.5416, allocations: 6.203 kB / 0.9606 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/0.5416, allocations: 3.406 kB / 0.9606 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001916/0.5418, allocations: 71.23 kB / 0.9607 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.5418, allocations: 3.938 kB / 0.9607 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-06/0.5418, allocations: 1.406 kB / 0.9607 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.5419, allocations: 19.02 kB / 0.9607 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-06/0.5419, allocations: 4 kB / 0.9607 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.542, allocations: 18.72 kB / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.542, allocations: 2.75 kB / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 5.497e-05/0.542, allocations: 191.9 kB / 0.9609 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.5421, allocations: 12.02 kB / 0.961 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.5421, allocations: 12.44 kB / 0.961 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5421, allocations: 0 / 0.961 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5421, allocations: 5.312 kB / 0.961 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5421, allocations: 0 / 0.961 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008969/0.543, allocations: 0.4984 MB / 0.9615 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.543, allocations: 1 kB / 0.9615 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.5432, allocations: 41.39 kB / 0.9615 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5433, allocations: 3.984 kB / 0.9615 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5433, allocations: 18.41 kB / 0.9615 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5433, allocations: 1.125 kB / 0.9615 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5433, allocations: 1.438 kB / 0.9615 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.544, allocations: 303.9 kB / 0.9618 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.5441, allocations: 97.44 kB / 0.9619 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.5441, allocations: 1.156 kB / 0.9619 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.5443, allocations: 33.94 kB / 0.9619 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.5443, allocations: 10.92 kB / 0.962 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.5444, allocations: 2 kB / 0.962 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.722e-05/0.5444, allocations: 126.3 kB / 0.9621 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5444, allocations: 4 kB / 0.9621 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002835/0.5447, allocations: 31.03 kB / 0.9621 GB, free: 2.168 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00084/0.5456, allocations: 0.8315 MB / 0.9629 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007901/0.5464, allocations: 215.1 kB / 0.9631 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5464, allocations: 3.938 kB / 0.9631 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.5467, allocations: 89.2 kB / 0.9632 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.547, allocations: 11.95 kB / 0.9632 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.5501, allocations: 1.973 MB / 0.9652 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.5503, allocations: 0.6971 MB / 0.9658 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.251e-05/0.5504, allocations: 10.94 kB / 0.9658 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/0.5505, allocations: 36.95 kB / 0.9659 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5505, allocations: 3.938 kB / 0.9659 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.304/1.854, allocations: 2.407 MB / 0.9682 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.855, allocations: 208.7 kB / 0.9684 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/3.584, allocations: 0 / 0.9684 GB, free: 13.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches