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.008081/0.008081, allocations: 101.7 kB / 15.73 MB, free: 6.004 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.0016/0.0016, allocations: 198.9 kB / 16.68 MB, free: 5.926 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.846/2.846, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 67.89 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3554, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 1/1.356, allocations: 167.4 MB / 1.371 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003081/1.359, allocations: 1.545 MB / 1.372 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000521/1.359, allocations: 11.16 kB / 1.372 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007285/1.36, allocations: 152.2 kB / 1.372 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002139/1.362, allocations: 0.6965 MB / 1.373 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/1.364, allocations: 0.6031 MB / 1.374 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001179/1.365, allocations: 0.7054 MB / 1.374 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005327/1.366, allocations: 236.3 kB / 1.375 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008813/1.367, allocations: 332.5 kB / 1.375 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/1.367, allocations: 222.6 kB / 1.375 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/1.367, allocations: 25.66 kB / 1.375 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/1.369, allocations: 0.8661 MB / 1.376 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/1.37, allocations: 109.2 kB / 1.376 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003066/1.37, allocations: 172 kB / 1.376 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/1.371, allocations: 0.7113 MB / 1.377 GB, free: 13.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.371, allocations: 1.094 kB / 1.377 GB, free: 13.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.173e-06/1.371, allocations: 0 / 1.377 GB, free: 13.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.497e-05/1.372, allocations: 0 / 1.377 GB, free: 13.64 MB / 1.076 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.001254/1.373, allocations: 0.6563 MB / 1.378 GB, free: 13.06 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.373, allocations: 10.12 kB / 1.378 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.387e-05/1.373, allocations: 58.06 kB / 1.378 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/1.374, allocations: 153 kB / 1.378 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/1.375, allocations: 317.8 kB / 1.378 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/1.375, allocations: 16.91 kB / 1.378 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/1.375, allocations: 23.34 kB / 1.378 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/1.375, allocations: 278.7 kB / 1.378 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.375, allocations: 5.219 kB / 1.378 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/1.376, allocations: 10.62 kB / 1.378 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/1.376, allocations: 5.188 kB / 1.378 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/1.376, allocations: 197.5 kB / 1.379 GB, free: 12.32 MB / 1.076 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.001552/1.378, allocations: 1.216 MB / 1.38 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/1.378, allocations: 134.3 kB / 1.38 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/1.378, allocations: 96.67 kB / 1.38 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/1.379, allocations: 298.4 kB / 1.38 GB, free: 10.76 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/1.379, allocations: 45 kB / 1.38 GB, free: 10.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/1.379, allocations: 0 / 1.38 GB, free: 10.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0008609/1.38, allocations: 280.7 kB / 1.381 GB, free: 10.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/1.38, allocations: 53.59 kB / 1.381 GB, free: 10.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/1.38, allocations: 316.9 kB / 1.381 GB, free: 10.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.38, allocations: 25.7 kB / 1.381 GB, free: 10.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.38, allocations: 189.3 kB / 1.381 GB, free: 10.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/1.38, allocations: 54.16 kB / 1.381 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/1.38, allocations: 45.77 kB / 1.381 GB, free: 10.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.38, allocations: 338.1 kB / 1.382 GB, free: 9.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/1.381, allocations: 62.45 kB / 1.382 GB, free: 9.652 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/1.381, allocations: 130.3 kB / 1.382 GB, free: 9.555 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/1.381, allocations: 185.4 kB / 1.382 GB, free: 9.434 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.381, allocations: 5.062 kB / 1.382 GB, free: 9.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004863/1.382, allocations: 238.3 kB / 1.382 GB, free: 9.301 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.382, allocations: 5.812 kB / 1.382 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.382, allocations: 1.312 kB / 1.382 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/1.382, allocations: 7.047 kB / 1.382 GB, free: 9.297 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/1.382, allocations: 43.12 kB / 1.382 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.382, allocations: 3.094 kB / 1.382 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/1.382, allocations: 38.27 kB / 1.382 GB, free: 9.258 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/1.382, allocations: 12.38 kB / 1.382 GB, free: 9.254 MB / 1.076 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.0001485/1.382, allocations: 147.1 kB / 1.382 GB, free: 9.117 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/1.383, allocations: 33.94 kB / 1.382 GB, free: 9.098 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/1.383, allocations: 214.1 kB / 1.383 GB, free: 8.973 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.383, allocations: 1.156 kB / 1.383 GB, free: 8.973 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.383, allocations: 6 kB / 1.383 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.383, allocations: 3.984 kB / 1.383 GB, free: 8.965 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/1.384, allocations: 0.6808 MB / 1.383 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.384, allocations: 2.219 kB / 1.383 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/1.384, allocations: 35.89 kB / 1.383 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.384, allocations: 7.156 kB / 1.383 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/1.384, allocations: 8.719 kB / 1.383 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.384, allocations: 2.062 kB / 1.383 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.384, allocations: 2.188 kB / 1.383 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/1.385, allocations: 434.6 kB / 1.384 GB, free: 8.043 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/1.385, allocations: 127 kB / 1.384 GB, free: 7.914 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/1.385, allocations: 7.219 kB / 1.384 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/1.386, allocations: 13.55 kB / 1.384 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/1.386, allocations: 14.7 kB / 1.384 GB, free: 7.895 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.386, allocations: 5.75 kB / 1.384 GB, free: 7.895 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002473/1.386, allocations: 222.5 kB / 1.384 GB, free: 7.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.386, allocations: 4.062 kB / 1.384 GB, free: 7.746 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004437/1.386, allocations: 86.23 kB / 1.384 GB, free: 7.727 MB / 1.076 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.001268/1.388, allocations: 1.029 MB / 1.385 GB, free: 6.844 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004438/1.388, allocations: 175.2 kB / 1.385 GB, free: 6.766 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.388, allocations: 0 / 1.385 GB, free: 6.766 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/1.388, allocations: 84.3 kB / 1.386 GB, free: 6.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008915/1.389, allocations: 165.1 kB / 1.386 GB, free: 6.648 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/1.393, allocations: 2.899 MB / 1.389 GB, free: 4.465 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/1.394, allocations: 0.7752 MB / 1.389 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00026/1.394, allocations: 68.08 kB / 1.389 GB, free: 3.695 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/1.394, allocations: 91.94 kB / 1.389 GB, free: 3.621 MB / 1.076 GB Notification: Performance of SimCode: time 9.41e-07/1.394, allocations: 3.938 kB / 1.389 GB, free: 3.617 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04133/1.435, allocations: 8.963 MB / 1.398 GB, free: 15.16 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/9.641, allocations: 7.188 kB / 1.398 GB, free: 15.15 MB / 1.092 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