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.001857/0.001857, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002256/0.002256, allocations: 196.7 kB / 16.54 MB, free: 6.672 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.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.33 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.234, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002573/0.2366, allocations: 1.624 MB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006194/0.2372, allocations: 339 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.2373, allocations: 3.938 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.2373, allocations: 7.922 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.077e-05/0.2374, allocations: 23.78 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.2377, allocations: 79.78 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2379, allocations: 103.5 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.238, allocations: 39.97 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.2381, allocations: 35.86 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.2381, allocations: 47.77 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2382, allocations: 8 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.2383, allocations: 43.97 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.2383, allocations: 15.92 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.2383, allocations: 39.8 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.2385, allocations: 115.9 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2385, allocations: 4 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2385, allocations: 0 / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2385, allocations: 0 / 1.055 GB, free: 5.719 MB / 0.8106 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.000493/0.239, allocations: 399.2 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2391, allocations: 8.625 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.2391, allocations: 42.73 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.2404, allocations: 168.5 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2405, allocations: 188.1 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2406, allocations: 384 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.2406, allocations: 12.38 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.2412, allocations: 166.1 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2412, allocations: 7.938 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2412, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2412, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000887/0.2421, allocations: 187.8 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2432, allocations: 472.2 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.2443, allocations: 190.3 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.2446, allocations: 64.86 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2446, allocations: 7.969 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2447, allocations: 34.5 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.2447, allocations: 4 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001106/0.2458, allocations: 225.5 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.2458, allocations: 59.33 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.246, allocations: 191.5 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2461, allocations: 25.7 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.2461, allocations: 103.9 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2461, allocations: 15.84 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.2462, allocations: 33.62 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.2463, allocations: 322.8 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.2468, allocations: 84.78 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.2472, allocations: 102.5 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/0.248, allocations: 162.4 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.248, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000939/0.2489, allocations: 213.4 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2489, allocations: 8 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.249, allocations: 3.938 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.249, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.2493, allocations: 47.94 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2493, allocations: 4 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.2497, allocations: 39.86 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.2497, allocations: 7.984 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002056/0.2499, allocations: 120.8 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001795/0.2501, allocations: 86.06 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002581/0.2504, allocations: 97.91 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.2504, allocations: 7.984 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004072/0.2508, allocations: 133.4 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.2508, allocations: 9.719 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.2508, allocations: 0 / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.2508, allocations: 7.938 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.251, allocations: 32.12 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.251, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.2512, allocations: 23.91 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2512, allocations: 4 kB / 1.059 GB, free: 1.375 MB / 0.8106 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 7.865e-05/0.2513, allocations: 184.3 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.2514, allocations: 7.906 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.2514, allocations: 28.11 kB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2514, allocations: 0 / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2514, allocations: 0 / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2514, allocations: 0 / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2516, allocations: 209.5 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2516, allocations: 3.938 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.2518, allocations: 36.02 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2519, allocations: 0 / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2519, allocations: 7.938 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2519, allocations: 4 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2519, allocations: 3.984 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007298/0.2526, allocations: 251.3 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.2527, allocations: 96.98 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.2527, allocations: 3.938 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.253, allocations: 31.91 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.2531, allocations: 3.984 kB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2531, allocations: 8 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001639/0.2532, allocations: 138.3 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2532, allocations: 0 / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003247/0.2536, allocations: 40 kB / 1.06 GB, free: 252 kB / 0.8106 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.0009643/0.2545, allocations: 0.7942 MB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009906/0.2555, allocations: 208.5 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2556, allocations: 64 / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.2559, allocations: 71.91 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.2562, allocations: 0 / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.2599, allocations: 1.947 MB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.2601, allocations: 0.6924 MB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000166/0.2603, allocations: 27.98 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.2604, allocations: 31.41 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.2604, allocations: 0 / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.702/1.962, allocations: 2.957 MB / 1.067 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/14.38, allocations: 13.38 kB / 1.067 GB, free: 9.473 MB / 0.8262 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