Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_10_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.001027/0.001027, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008878/0.008879, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003552, allocations: 8 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6628, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1782/0.841, allocations: 163 MB / 1.182 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.8438, allocations: 1.548 MB / 1.184 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.8441, allocations: 7.938 kB / 1.184 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.8445, allocations: 111.2 kB / 1.184 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.8461, allocations: 0.6691 MB / 1.185 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.8475, allocations: 0.5493 MB / 1.185 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009538/0.8484, allocations: 0.9742 MB / 1.186 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.8488, allocations: 201.2 kB / 1.186 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.8493, allocations: 298.7 kB / 1.187 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.8496, allocations: 231 kB / 1.187 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.8497, allocations: 12 kB / 1.187 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.8512, allocations: 1.013 MB / 1.188 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.8514, allocations: 95.7 kB / 1.188 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.8516, allocations: 184.8 kB / 1.188 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009522/0.8525, allocations: 0.7595 MB / 1.189 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.8525, allocations: 0 / 1.189 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8525, allocations: 0 / 1.189 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8525, allocations: 0 / 1.189 GB, free: 5.609 MB / 0.9356 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.0008499/0.8534, allocations: 0.5999 MB / 1.189 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8534, allocations: 8.031 kB / 1.189 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.034e-05/0.8535, allocations: 58.53 kB / 1.189 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.8546, allocations: 163.3 kB / 1.19 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.855, allocations: 297.7 kB / 1.19 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.8551, allocations: 24.44 kB / 1.19 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.8551, allocations: 24 kB / 1.19 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.8556, allocations: 279.4 kB / 1.19 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8556, allocations: 0 / 1.19 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.8556, allocations: 12 kB / 1.19 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.8557, allocations: 8 kB / 1.19 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.8561, allocations: 211.7 kB / 1.19 GB, free: 3.828 MB / 0.9356 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.001331/0.8574, allocations: 1.221 MB / 1.192 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.8577, allocations: 134.5 kB / 1.192 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.8579, allocations: 100.8 kB / 1.192 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005882/0.8585, allocations: 315.2 kB / 1.192 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.8585, allocations: 34.56 kB / 1.192 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.8585, allocations: 0 / 1.192 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.000769/0.8593, allocations: 293.4 kB / 1.192 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.8594, allocations: 55.41 kB / 1.192 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.8597, allocations: 320.5 kB / 1.193 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.8597, allocations: 29.64 kB / 1.193 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.8598, allocations: 184.2 kB / 1.193 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.8599, allocations: 59.19 kB / 1.193 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.8599, allocations: 21.7 kB / 1.193 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.86, allocations: 338.8 kB / 1.193 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.8602, allocations: 71.95 kB / 1.193 GB, free: 468 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.8604, allocations: 132.6 kB / 1.194 GB, free: 320 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.8608, allocations: 201 kB / 1.194 GB, free: 100 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8608, allocations: 3.938 kB / 1.194 GB, free: 96 kB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004654/0.8613, allocations: 256.8 kB / 1.194 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8613, allocations: 8 kB / 1.194 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8613, allocations: 0 / 1.194 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.8613, allocations: 4 kB / 1.194 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.8615, allocations: 43.97 kB / 1.194 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8615, allocations: 11.92 kB / 1.194 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.8618, allocations: 39.77 kB / 1.194 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.8618, allocations: 12 kB / 1.194 GB, free: 15.72 MB / 0.9512 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.0001363/0.8619, allocations: 153.7 kB / 1.194 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.862, allocations: 31.62 kB / 1.194 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.8625, allocations: 230.8 kB / 1.195 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8625, allocations: 4 kB / 1.195 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8625, allocations: 0 / 1.195 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.8625, allocations: 0 / 1.195 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.8635, allocations: 0.6993 MB / 1.195 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8636, allocations: 0 / 1.195 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.8637, allocations: 35.92 kB / 1.195 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.8637, allocations: 7.938 kB / 1.195 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.8638, allocations: 11.98 kB / 1.195 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8638, allocations: 0 / 1.195 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8638, allocations: 4 kB / 1.195 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.8644, allocations: 441 kB / 1.196 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.8646, allocations: 128.7 kB / 1.196 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.8646, allocations: 7.938 kB / 1.196 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.8648, allocations: 20.05 kB / 1.196 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.8649, allocations: 15.92 kB / 1.196 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.8649, allocations: 4 kB / 1.196 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002089/0.8651, allocations: 227 kB / 1.196 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8651, allocations: 0 / 1.196 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003836/0.8655, allocations: 79.91 kB / 1.196 GB, free: 13.51 MB / 0.9512 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.001164/0.8667, allocations: 1.051 MB / 1.197 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.8671, allocations: 179.8 kB / 1.197 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8671, allocations: 192 / 1.197 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.8673, allocations: 95.83 kB / 1.197 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009617/0.8682, allocations: 157.3 kB / 1.198 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.8718, allocations: 3.045 MB / 1.201 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.8721, allocations: 0.7758 MB / 1.201 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.8723, allocations: 62.92 kB / 1.201 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.8725, allocations: 87.41 kB / 1.201 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.8725, allocations: 0 / 1.201 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.8915, allocations: 8.24 MB / 1.21 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.8917, allocations: 236.3 kB / 1.21 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.858, allocations: 4 kB / 1.21 GB, free: 15.56 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches