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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001264/0.001264, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009559/0.009559, allocations: 170 kB / 16.26 MB, free: 6.613 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 15.34 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.306, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002059/0.3081, allocations: 1.354 MB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.3089, allocations: 331.1 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.309, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.309, allocations: 7.938 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.3092, allocations: 11.91 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.3095, allocations: 79.8 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.3097, allocations: 103.5 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3098, allocations: 24 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.743e-05/0.3099, allocations: 35.84 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.31, allocations: 35.78 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.31, allocations: 4 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3102, allocations: 35.97 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.3102, allocations: 23.84 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.3102, allocations: 61.45 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3104, allocations: 103.9 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3104, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3104, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3105, allocations: 0 / 1.061 GB, free: 2.664 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.0005608/0.311, allocations: 391.2 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3111, allocations: 11.97 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.3111, allocations: 46.73 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.3126, allocations: 176.6 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.3127, allocations: 184.2 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3127, allocations: 8.375 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.3128, allocations: 8.359 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/0.3134, allocations: 189.9 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3135, allocations: 3.938 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3135, allocations: 4 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3135, allocations: 8 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009409/0.3145, allocations: 203.8 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3157, allocations: 484.3 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.3168, allocations: 210.4 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.3172, allocations: 80.84 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3172, allocations: 0 / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.3172, allocations: 34.5 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3172, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001215/0.3185, allocations: 261.2 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3185, allocations: 51.41 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.3188, allocations: 192.2 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3188, allocations: 25.7 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.3189, allocations: 107.9 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.3189, allocations: 15.81 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.319, allocations: 17.72 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.3191, allocations: 318.8 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.3195, allocations: 87.92 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.32, allocations: 114.5 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.3208, allocations: 178.4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3208, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001001/0.3218, allocations: 245.4 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.3219, allocations: 112.8 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3219, allocations: 4 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3219, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.3222, allocations: 51.88 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3223, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.3226, allocations: 47.86 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.3227, allocations: 11.92 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-06/0.3227, allocations: 8 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003989/0.3231, allocations: 103.9 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.3231, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-06/0.3231, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3233, allocations: 27.97 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3233, allocations: 4.094 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.3235, allocations: 27.83 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3235, allocations: 7.984 kB / 1.065 GB, free: 14.42 MB / 0.8262 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.0001193/0.3236, allocations: 197 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.3237, allocations: 7.906 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.3237, allocations: 12.25 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3237, allocations: 3.938 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3237, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3237, allocations: 4.125 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.324, allocations: 213.5 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.324, allocations: 0 / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.3242, allocations: 35.95 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3242, allocations: 4 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3242, allocations: 3.984 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3242, allocations: 7.938 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3242, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.3251, allocations: 283.5 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.3251, allocations: 96.98 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.3252, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.3255, allocations: 35.91 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3255, allocations: 3.938 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3255, allocations: 11.98 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001844/0.3257, allocations: 136.8 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3257, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003409/0.3261, allocations: 47.91 kB / 1.066 GB, free: 13.24 MB / 0.8262 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.001062/0.3271, allocations: 0.806 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.3282, allocations: 231.8 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3282, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.3286, allocations: 79.98 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3289, allocations: 11.94 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.333, allocations: 2.026 MB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3332, allocations: 0.7004 MB / 1.07 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.3334, allocations: 20 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.3335, allocations: 31.41 kB / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3335, allocations: 0 / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7082/1.042, allocations: 2.653 MB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/1.042, allocations: 220.5 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.524, allocations: 1.25 kB / 1.072 GB, free: 6.441 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