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.01173/0.01173, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.002955/0.002955, allocations: 199.3 kB / 16.68 MB, free: 5.918 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2701, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002839/0.273, allocations: 1.624 MB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.2737, allocations: 331.6 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.2738, allocations: 4 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.2738, allocations: 7.875 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.601e-05/0.274, allocations: 19.78 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.2743, allocations: 87.72 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.2745, allocations: 111.5 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2746, allocations: 31.94 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.2747, allocations: 43.83 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.2748, allocations: 47.78 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2749, allocations: 8 kB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.275, allocations: 35.97 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.275, allocations: 27.91 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.2751, allocations: 35.81 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.2753, allocations: 115.8 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2753, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2753, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.2753, allocations: 0 / 1.21 GB, free: 7.602 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.0005906/0.2759, allocations: 407.1 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2759, allocations: 8.625 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.276, allocations: 50.69 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.2774, allocations: 160.6 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2776, allocations: 184.1 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2776, allocations: 4.375 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.2776, allocations: 12.38 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.2783, allocations: 171.5 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2783, allocations: 7.938 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2784, allocations: 7.938 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2784, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009737/0.2794, allocations: 191.7 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.2806, allocations: 468.3 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.2818, allocations: 190.3 kB / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.2821, allocations: 64.86 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2822, allocations: 0 / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2822, allocations: 34.55 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.2822, allocations: 4 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.001221/0.2834, allocations: 229.2 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.47e-05/0.2835, allocations: 51.41 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.2837, allocations: 188.4 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.2838, allocations: 25.7 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.2839, allocations: 107.9 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.2839, allocations: 15.83 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.284, allocations: 33.59 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2841, allocations: 322.8 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.2846, allocations: 84.77 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.285, allocations: 98.48 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008072/0.2859, allocations: 158.4 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2859, allocations: 0 / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001035/0.2869, allocations: 217.4 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2869, allocations: 4 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.287, allocations: 7.938 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.287, allocations: 0 / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.2873, allocations: 47.94 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2873, allocations: 4 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.2877, allocations: 39.94 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.2878, allocations: 4 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002325/0.288, allocations: 128 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001979/0.2882, allocations: 82.23 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002861/0.2885, allocations: 101.9 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.945e-06/0.2885, allocations: 3.984 kB / 1.213 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004624/0.289, allocations: 145.2 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.289, allocations: 4 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.289, allocations: 4.281 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.289, allocations: 11.94 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2892, allocations: 27.97 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.247e-06/0.2892, allocations: 0 / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.2894, allocations: 23.91 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2895, allocations: 4 kB / 1.214 GB, free: 3.242 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.0001063/0.2896, allocations: 188.3 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.2896, allocations: 11.84 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.2897, allocations: 20.17 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2897, allocations: 0 / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2897, allocations: 0 / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2897, allocations: 0 / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.29, allocations: 205.6 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.29, allocations: 0 / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.2902, allocations: 31.95 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2902, allocations: 0 / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2902, allocations: 7.922 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2902, allocations: 0 / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2902, allocations: 4 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008208/0.2911, allocations: 255.3 kB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.2912, allocations: 96.98 kB / 1.214 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2912, allocations: 3.938 kB / 1.214 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.2915, allocations: 31.95 kB / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.2916, allocations: 0 / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2916, allocations: 11.92 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000193/0.2918, allocations: 141.4 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2918, allocations: 0 / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003726/0.2922, allocations: 43.91 kB / 1.215 GB, free: 2.117 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.001074/0.2932, allocations: 0.7944 MB / 1.215 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.2944, allocations: 212.1 kB / 1.216 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2944, allocations: 0 / 1.216 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.2947, allocations: 68.05 kB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2951, allocations: 7.938 kB / 1.216 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.2994, allocations: 1.933 MB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.2997, allocations: 0.6963 MB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.2998, allocations: 27.98 kB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2999, allocations: 31.41 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of SimCode: time 8.42e-07/0.3, allocations: 0 / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/0.4052, allocations: 3.056 MB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.49, allocations: 18.23 kB / 1.221 GB, free: 11.26 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=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