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.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 197 kB / 16.54 MB, free: 6.672 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 69.03 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3331, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1848/0.5179, allocations: 167.4 MB / 1.216 GB, free: 268 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.5206, allocations: 1.543 MB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.5209, allocations: 15.88 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.5213, allocations: 146.9 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.5231, allocations: 0.7 MB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.5246, allocations: 0.6028 MB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007604/0.5253, allocations: 0.7013 MB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.5257, allocations: 229.1 kB / 1.22 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.5263, allocations: 342.7 kB / 1.221 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.5266, allocations: 223.1 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.5266, allocations: 20 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.5281, allocations: 0.8612 MB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.5282, allocations: 111.6 kB / 1.222 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.5284, allocations: 163.2 kB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.5295, allocations: 0.7129 MB / 1.223 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5295, allocations: 0 / 1.223 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5295, allocations: 0 / 1.223 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.5296, allocations: 0 / 1.223 GB, free: 9.906 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.001161/0.5307, allocations: 0.662 MB / 1.223 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.5308, allocations: 8.625 kB / 1.223 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.222e-05/0.5309, allocations: 54.55 kB / 1.223 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.5321, allocations: 151.5 kB / 1.223 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.5326, allocations: 301.7 kB / 1.224 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.5326, allocations: 16.44 kB / 1.224 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.5327, allocations: 24 kB / 1.224 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.5332, allocations: 283.4 kB / 1.224 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5332, allocations: 0 / 1.224 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.5332, allocations: 12 kB / 1.224 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.5332, allocations: 4 kB / 1.224 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.5337, allocations: 199.8 kB / 1.224 GB, free: 8.09 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.001626/0.5353, allocations: 1.213 MB / 1.225 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.5356, allocations: 138.5 kB / 1.226 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.5358, allocations: 92.8 kB / 1.226 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/0.5365, allocations: 303.2 kB / 1.226 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5366, allocations: 38.56 kB / 1.226 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.5366, allocations: 0 / 1.226 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0007637/0.5374, allocations: 281.3 kB / 1.226 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.5374, allocations: 51.41 kB / 1.226 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.5378, allocations: 320.5 kB / 1.227 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.5378, allocations: 25.7 kB / 1.227 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.5379, allocations: 184.2 kB / 1.227 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.538, allocations: 51.2 kB / 1.227 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.538, allocations: 41.7 kB / 1.227 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5382, allocations: 342.8 kB / 1.227 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.5383, allocations: 67.95 kB / 1.227 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.5386, allocations: 131.1 kB / 1.227 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.5389, allocations: 192.4 kB / 1.228 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5389, allocations: 0 / 1.228 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004581/0.5394, allocations: 241.1 kB / 1.228 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5394, allocations: 11.94 kB / 1.228 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5394, allocations: 0 / 1.228 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5394, allocations: 4 kB / 1.228 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.5396, allocations: 47.91 kB / 1.228 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.5396, allocations: 8.078 kB / 1.228 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.5398, allocations: 27.73 kB / 1.228 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.5399, allocations: 12 kB / 1.228 GB, free: 4.051 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.0001401/0.54, allocations: 145.8 kB / 1.228 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.5401, allocations: 31.62 kB / 1.228 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.5405, allocations: 218.1 kB / 1.228 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5405, allocations: 4 kB / 1.228 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5406, allocations: 0 / 1.228 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5406, allocations: 4 kB / 1.228 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009619/0.5415, allocations: 0.6874 MB / 1.229 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5415, allocations: 0 / 1.229 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.5417, allocations: 31.92 kB / 1.229 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5417, allocations: 7.938 kB / 1.229 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.5417, allocations: 8 kB / 1.229 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5418, allocations: 8 kB / 1.229 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5418, allocations: 0 / 1.229 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.5424, allocations: 437.1 kB / 1.229 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.5425, allocations: 128.7 kB / 1.23 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.5426, allocations: 0 / 1.23 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.5427, allocations: 12 kB / 1.23 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.5428, allocations: 11.92 kB / 1.23 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5428, allocations: 15.98 kB / 1.23 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000225/0.543, allocations: 223.1 kB / 1.23 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.553e-06/0.5431, allocations: 0 / 1.23 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003871/0.5434, allocations: 87.86 kB / 1.23 GB, free: 1.871 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.001238/0.5447, allocations: 1.028 MB / 1.231 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.5452, allocations: 175.8 kB / 1.231 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.5452, allocations: 0 / 1.231 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.5454, allocations: 88.45 kB / 1.231 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008932/0.5463, allocations: 159.7 kB / 1.231 GB, free: 400 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.55, allocations: 2.917 MB / 1.234 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.5503, allocations: 0.7834 MB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002218/0.5505, allocations: 62.92 kB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.5507, allocations: 87.41 kB / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.5507, allocations: 0 / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.5807, allocations: 8.754 MB / 1.244 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/8.047, allocations: 5.594 kB / 1.244 GB, free: 3.781 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