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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005064/0.005064, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00126/0.00126, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.41 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2082, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002421/0.2106, allocations: 1.61 MB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005625/0.2112, allocations: 301.4 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.2112, allocations: 0 / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.2113, allocations: 11.86 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.37e-05/0.2114, allocations: 19.86 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.2117, allocations: 71.83 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.2118, allocations: 103.6 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2119, allocations: 39.94 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.212, allocations: 43.84 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.2121, allocations: 47.77 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2121, allocations: 8 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-05/0.2122, allocations: 27.98 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.2122, allocations: 15.98 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.2122, allocations: 47.72 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2124, allocations: 98.5 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2124, allocations: 3.984 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2124, allocations: 4 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2124, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 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.0004962/0.2129, allocations: 407.9 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.213, allocations: 8.031 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.213, allocations: 42.73 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009217/0.2139, allocations: 124.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.214, allocations: 176.2 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2141, allocations: 4.375 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.2141, allocations: 8.375 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.2146, allocations: 151.4 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2146, allocations: 3.938 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.2146, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2146, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/0.2154, allocations: 151.8 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/0.2162, allocations: 452.3 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.2169, allocations: 146.4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.2173, allocations: 72.91 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2173, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2173, allocations: 34.56 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.2173, allocations: 4 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.001134/0.2185, allocations: 245.2 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.2185, allocations: 55.41 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2186, allocations: 155.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2186, allocations: 25.7 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.2187, allocations: 104 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.2187, allocations: 19.66 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.2188, allocations: 21.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.2189, allocations: 326.8 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.2192, allocations: 76.78 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.2196, allocations: 67.92 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.2203, allocations: 136.7 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2203, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007448/0.221, allocations: 189.4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2211, allocations: 8 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2211, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2211, allocations: 3.938 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2213, allocations: 39.94 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2214, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.2216, allocations: 31.88 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.2216, allocations: 7.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001252/0.2217, allocations: 108.1 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.6e-05/0.2218, allocations: 52.27 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001699/0.222, allocations: 80.2 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.222, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002354/0.2223, allocations: 113.4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.2223, allocations: 10.44 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.2223, allocations: 4.25 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-06/0.2223, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.2224, allocations: 23.98 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2224, allocations: 11.88 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.2225, allocations: 12.09 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2225, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 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 7.505e-05/0.2225, allocations: 180.2 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.2226, allocations: 11.91 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.2226, allocations: 12.31 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2226, allocations: 3.938 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2227, allocations: 7.938 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2227, allocations: 4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009844/0.2236, allocations: 479.9 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2237, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.2239, allocations: 36.02 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2239, allocations: 4 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2239, allocations: 3.984 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2239, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2239, allocations: 3.938 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.2247, allocations: 293 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.2248, allocations: 93 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.2248, allocations: 4 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.225, allocations: 23.97 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2251, allocations: 3.984 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2251, allocations: 8 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.7e-05/0.2252, allocations: 121.3 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2252, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002908/0.2255, allocations: 24 kB / 1.095 GB, free: 10.23 MB / 0.8575 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.0009893/0.2265, allocations: 0.8271 MB / 1.095 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008136/0.2273, allocations: 183.7 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2273, allocations: 0 / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.2276, allocations: 80.28 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.2279, allocations: 12.55 kB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.2313, allocations: 1.893 MB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.2315, allocations: 0.6929 MB / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.786e-05/0.2316, allocations: 19.92 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.2317, allocations: 35.41 kB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.2317, allocations: 0 / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4512/0.6829, allocations: 2.761 MB / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.93, allocations: 8 kB / 1.101 GB, free: 3.684 MB / 0.8575 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