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.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.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.001007/0.001008, allocations: 98.27 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.007687/0.007688, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.333/2.333, allocations: 443.4 MB / 0.7176 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 8.406 kB / 0.8797 GB, free: 41.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.218, allocations: 155.2 MB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1456/0.3636, allocations: 163 MB / 1.19 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.3656, allocations: 1.551 MB / 1.192 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3657, allocations: 11.94 kB / 1.192 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3661, allocations: 111.2 kB / 1.192 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.3671, allocations: 0.6613 MB / 1.193 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.3681, allocations: 0.5392 MB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007917/0.3689, allocations: 0.978 MB / 1.194 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.3692, allocations: 197.2 kB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.3696, allocations: 306.7 kB / 1.195 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.3698, allocations: 227 kB / 1.195 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.3699, allocations: 12 kB / 1.195 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.3711, allocations: 1.013 MB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.3712, allocations: 95.69 kB / 1.196 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.3713, allocations: 176.9 kB / 1.196 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007907/0.3721, allocations: 0.7672 MB / 1.197 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3721, allocations: 0 / 1.197 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3722, allocations: 0 / 1.197 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3722, allocations: 4 kB / 1.197 GB, free: 9.91 MB / 0.9512 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.0007214/0.3729, allocations: 0.5921 MB / 1.197 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3729, allocations: 12.02 kB / 1.197 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.373, allocations: 54.55 kB / 1.198 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.374, allocations: 159.3 kB / 1.198 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.3743, allocations: 317.6 kB / 1.198 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3744, allocations: 16.44 kB / 1.198 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.3744, allocations: 20 kB / 1.198 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.3749, allocations: 287.4 kB / 1.198 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3749, allocations: 0 / 1.198 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.3749, allocations: 12 kB / 1.198 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3749, allocations: 7.984 kB / 1.198 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.3753, allocations: 207.7 kB / 1.198 GB, free: 8.125 MB / 0.9512 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.001182/0.3765, allocations: 1.217 MB / 1.2 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.3768, allocations: 142.5 kB / 1.2 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3769, allocations: 96.8 kB / 1.2 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/0.3775, allocations: 315.2 kB / 1.2 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3775, allocations: 38.55 kB / 1.2 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.3775, allocations: 0 / 1.2 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0006878/0.3782, allocations: 295.5 kB / 1.201 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.3782, allocations: 55.34 kB / 1.201 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.3785, allocations: 320.5 kB / 1.201 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3786, allocations: 29.7 kB / 1.201 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3787, allocations: 176.2 kB / 1.201 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.3787, allocations: 59.19 kB / 1.201 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.3788, allocations: 21.7 kB / 1.201 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3789, allocations: 338.8 kB / 1.201 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.379, allocations: 67.95 kB / 1.202 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.3792, allocations: 138.5 kB / 1.202 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.3796, allocations: 193 kB / 1.202 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3796, allocations: 0 / 1.202 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000429/0.38, allocations: 256.4 kB / 1.202 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.38, allocations: 4 kB / 1.202 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.38, allocations: 3.938 kB / 1.202 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.3801, allocations: 4 kB / 1.202 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.3802, allocations: 47.91 kB / 1.202 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3803, allocations: 4.094 kB / 1.202 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.3805, allocations: 35.73 kB / 1.202 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.3805, allocations: 12 kB / 1.202 GB, free: 4.039 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.000122/0.3806, allocations: 157.6 kB / 1.202 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.3807, allocations: 31.62 kB / 1.202 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.3811, allocations: 232.3 kB / 1.203 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3811, allocations: 0 / 1.203 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3811, allocations: 0 / 1.203 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3811, allocations: 144 / 1.203 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008989/0.382, allocations: 0.7029 MB / 1.203 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3821, allocations: 11.94 kB / 1.203 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.3822, allocations: 31.97 kB / 1.203 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3822, allocations: 11.88 kB / 1.203 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3822, allocations: 8 kB / 1.203 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3822, allocations: 0 / 1.203 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3823, allocations: 4 kB / 1.203 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.3828, allocations: 451.7 kB / 1.204 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.3829, allocations: 120.8 kB / 1.204 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.383, allocations: 7.938 kB / 1.204 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3832, allocations: 24.05 kB / 1.204 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3832, allocations: 7.984 kB / 1.204 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3832, allocations: 8 kB / 1.204 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001871/0.3834, allocations: 227 kB / 1.204 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3834, allocations: 0 / 1.204 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003256/0.3838, allocations: 83.84 kB / 1.204 GB, free: 1.805 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.001025/0.3848, allocations: 1.049 MB / 1.205 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.3852, allocations: 181.1 kB / 1.205 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3852, allocations: 0 / 1.205 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.3854, allocations: 91.88 kB / 1.206 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008628/0.3862, allocations: 157.6 kB / 1.206 GB, free: 304 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.3894, allocations: 3.067 MB / 1.209 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3897, allocations: 0.7758 MB / 1.209 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.3899, allocations: 62.92 kB / 1.21 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.39, allocations: 87.41 kB / 1.21 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.39, allocations: 4 kB / 1.21 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.645/5.035, allocations: 8.232 MB / 1.218 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/5.035, allocations: 253.3 kB / 1.218 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/8.258, allocations: 0 / 1.218 GB, free: 3.844 MB / 0.9669 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