Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.001767/0.001767, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002002/0.002002, allocations: 195.4 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.337/2.337, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.72/5.72, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 63.95 kB / 0.8987 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.398/4.401, allocations: 157.4 MB / 1.052 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3607/4.761, allocations: 165.1 MB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006066/4.768, allocations: 1.549 MB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007878/4.768, allocations: 11.94 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/4.769, allocations: 127.1 kB / 1.215 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/4.773, allocations: 0.6614 MB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/4.777, allocations: 0.5524 MB / 1.216 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001901/4.779, allocations: 0.7051 MB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008257/4.78, allocations: 213.2 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/4.781, allocations: 338.7 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00068/4.782, allocations: 235 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/4.782, allocations: 27.94 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/4.785, allocations: 0.8961 MB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/4.786, allocations: 107.7 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004494/4.786, allocations: 167.2 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/4.789, allocations: 0.7674 MB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/4.789, allocations: 0 / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/4.789, allocations: 0 / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.371e-05/4.789, allocations: 0 / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001962/4.791, allocations: 0.6558 MB / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/4.791, allocations: 16.61 kB / 1.22 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/4.791, allocations: 54.55 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/4.793, allocations: 155.4 kB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/4.794, allocations: 301.7 kB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/4.794, allocations: 16.44 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/4.794, allocations: 24 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/4.795, allocations: 279.5 kB / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/4.795, allocations: 0 / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/4.795, allocations: 8 kB / 1.221 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/4.795, allocations: 4 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/4.796, allocations: 199.7 kB / 1.221 GB, free: 10.81 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/4.799, allocations: 1.217 MB / 1.223 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/4.799, allocations: 134.5 kB / 1.223 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/4.8, allocations: 100.7 kB / 1.223 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/4.801, allocations: 303.2 kB / 1.223 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/4.801, allocations: 34.56 kB / 1.223 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 4.799e-06/4.801, allocations: 4 kB / 1.223 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001408/4.802, allocations: 277.4 kB / 1.223 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/4.802, allocations: 55.41 kB / 1.224 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/4.803, allocations: 312.5 kB / 1.224 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/4.803, allocations: 29.7 kB / 1.224 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/4.803, allocations: 192.1 kB / 1.224 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.379e-05/4.803, allocations: 51.2 kB / 1.224 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/4.803, allocations: 45.7 kB / 1.224 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002303/4.804, allocations: 342.8 kB / 1.224 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/4.804, allocations: 71.89 kB / 1.225 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/4.804, allocations: 121 kB / 1.225 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/4.805, allocations: 189 kB / 1.225 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/4.805, allocations: 0 / 1.225 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009114/4.806, allocations: 248.5 kB / 1.225 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/4.806, allocations: 8 kB / 1.225 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/4.806, allocations: 0 / 1.225 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/4.806, allocations: 4 kB / 1.225 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/4.806, allocations: 43.92 kB / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/4.807, allocations: 0 / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/4.807, allocations: 35.83 kB / 1.225 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/4.807, allocations: 15.98 kB / 1.225 GB, free: 6.754 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0002688/4.807, allocations: 149.7 kB / 1.225 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/4.807, allocations: 31.62 kB / 1.225 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008164/4.808, allocations: 214.5 kB / 1.226 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/4.808, allocations: 4 kB / 1.226 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/4.808, allocations: 0 / 1.226 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/4.808, allocations: 0 / 1.226 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/4.81, allocations: 0.6873 MB / 1.226 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/4.81, allocations: 0 / 1.226 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/4.811, allocations: 31.97 kB / 1.226 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/4.811, allocations: 7.938 kB / 1.226 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/4.811, allocations: 8 kB / 1.226 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.354e-05/4.811, allocations: 11.94 kB / 1.226 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/4.811, allocations: 0 / 1.226 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/4.812, allocations: 437.2 kB / 1.227 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/4.812, allocations: 120.7 kB / 1.227 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/4.812, allocations: 7.984 kB / 1.227 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/4.813, allocations: 15.94 kB / 1.227 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/4.813, allocations: 11.98 kB / 1.227 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/4.813, allocations: 19.98 kB / 1.227 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004749/4.814, allocations: 223.1 kB / 1.227 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.81e-07/4.814, allocations: 0 / 1.227 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008437/4.814, allocations: 87.83 kB / 1.227 GB, free: 4.566 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.002268/4.817, allocations: 1.024 MB / 1.228 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000794/4.818, allocations: 175.8 kB / 1.228 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/4.818, allocations: 0 / 1.228 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/4.818, allocations: 96.38 kB / 1.228 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/4.82, allocations: 158.9 kB / 1.229 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007625/4.827, allocations: 2.994 MB / 1.231 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/4.828, allocations: 0.7756 MB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005484/4.829, allocations: 62.92 kB / 1.232 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/4.829, allocations: 91.41 kB / 1.232 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of SimCode: time 3.036e-06/4.829, allocations: 0 / 1.232 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.467/10.3, allocations: 8.602 MB / 1.241 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004473/10.3, allocations: 249.9 kB / 1.241 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.969/16.27, allocations: 0 / 1.241 GB, free: 6.344 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches