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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004913/0.004913, allocations: 99.59 kB / 15.73 MB, free: 6.008 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.001393/0.001394, allocations: 198.5 kB / 16.68 MB, free: 5.934 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.461/2.461, allocations: 482.6 MB / 0.7551 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 69.12 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2759, allocations: 162.3 MB / 1.242 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002387/0.2783, allocations: 1.619 MB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006067/0.279, allocations: 344.5 kB / 1.244 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.279, allocations: 8 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.2791, allocations: 7.875 kB / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.2791, allocations: 19.78 kB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.2795, allocations: 91.7 kB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.2796, allocations: 103.6 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2797, allocations: 31.98 kB / 1.244 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.2798, allocations: 35.91 kB / 1.244 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.2799, allocations: 51.77 kB / 1.244 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.2799, allocations: 8 kB / 1.244 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.28, allocations: 35.97 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.28, allocations: 19.92 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.2801, allocations: 43.73 kB / 1.244 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.2803, allocations: 115.8 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2803, allocations: 0 / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2803, allocations: 4 kB / 1.244 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2803, allocations: 0 / 1.244 GB, free: 6.367 MB / 0.9669 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.0005368/0.2808, allocations: 403 kB / 1.245 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2809, allocations: 11.97 kB / 1.245 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.2809, allocations: 42.73 kB / 1.245 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.2822, allocations: 168.6 kB / 1.245 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2823, allocations: 184.2 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2824, allocations: 384 / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.2824, allocations: 12.38 kB / 1.245 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.283, allocations: 166.1 kB / 1.245 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.283, allocations: 7.875 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.283, allocations: 4 kB / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.283, allocations: 0 / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.2839, allocations: 183.8 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.285, allocations: 476.2 kB / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.2861, allocations: 190.4 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.2864, allocations: 64.86 kB / 1.246 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.2864, allocations: 0 / 1.246 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.2865, allocations: 30.56 kB / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2865, allocations: 0 / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.001121/0.2876, allocations: 229.3 kB / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.2876, allocations: 63.33 kB / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.2879, allocations: 189.5 kB / 1.247 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2879, allocations: 25.7 kB / 1.247 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.288, allocations: 111.9 kB / 1.247 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.288, allocations: 11.94 kB / 1.247 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.2881, allocations: 29.69 kB / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2882, allocations: 326.8 kB / 1.247 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.2886, allocations: 80.78 kB / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.2891, allocations: 102.5 kB / 1.247 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/0.2898, allocations: 162.4 kB / 1.247 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2898, allocations: 3.938 kB / 1.247 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009312/0.2908, allocations: 221.5 kB / 1.248 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2908, allocations: 8 kB / 1.248 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2908, allocations: 3.938 kB / 1.248 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2908, allocations: 0 / 1.248 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.2911, allocations: 47.94 kB / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2911, allocations: 4 kB / 1.248 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.2915, allocations: 39.84 kB / 1.248 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.2915, allocations: 11.98 kB / 1.248 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002121/0.2918, allocations: 120.1 kB / 1.248 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001882/0.2919, allocations: 81.92 kB / 1.248 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002595/0.2922, allocations: 97.91 kB / 1.248 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.2922, allocations: 3.984 kB / 1.248 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004218/0.2927, allocations: 141.4 kB / 1.248 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.2927, allocations: 9.562 kB / 1.248 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.2927, allocations: 0 / 1.248 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/0.2927, allocations: 7.938 kB / 1.248 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2928, allocations: 24.16 kB / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.2928, allocations: 192 / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.2931, allocations: 27.92 kB / 1.248 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2931, allocations: 4 kB / 1.248 GB, free: 2.016 MB / 0.9669 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.0001015/0.2932, allocations: 188.2 kB / 1.248 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.2932, allocations: 11.94 kB / 1.248 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.2933, allocations: 24.17 kB / 1.248 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2933, allocations: 0 / 1.248 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2933, allocations: 0 / 1.248 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2933, allocations: 3.938 kB / 1.248 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.2935, allocations: 205.6 kB / 1.249 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2935, allocations: 0 / 1.249 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.2938, allocations: 31.95 kB / 1.249 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2938, allocations: 0 / 1.249 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2938, allocations: 3.938 kB / 1.249 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.2938, allocations: 4 kB / 1.249 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2938, allocations: 3.984 kB / 1.249 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.2946, allocations: 255.4 kB / 1.249 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.2946, allocations: 104.9 kB / 1.249 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.2947, allocations: 3.938 kB / 1.249 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.295, allocations: 27.91 kB / 1.249 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.295, allocations: 3.984 kB / 1.249 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.295, allocations: 12.06 kB / 1.249 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001852/0.2952, allocations: 143.2 kB / 1.249 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2952, allocations: 0 / 1.249 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003266/0.2955, allocations: 43.94 kB / 1.249 GB, free: 0.8711 MB / 0.9669 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.001025/0.2966, allocations: 0.7909 MB / 1.25 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009943/0.2976, allocations: 203.7 kB / 1.25 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2976, allocations: 0 / 1.25 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.2979, allocations: 72.47 kB / 1.25 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.2982, allocations: 4 kB / 1.25 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.3021, allocations: 1.93 MB / 1.252 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3024, allocations: 0.7002 MB / 1.253 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.3025, allocations: 24.17 kB / 1.253 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.3026, allocations: 35.39 kB / 1.253 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of SimCode: time 2.985e-06/0.3026, allocations: 96 / 1.253 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.559/1.862, allocations: 3.01 MB / 1.256 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.85, allocations: 6.469 kB / 1.256 GB, free: 10.08 MB / 0.9825 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=400 --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