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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005751/0.005751, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.001315/0.001315, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 75.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3382, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.9643/1.303, allocations: 167.3 MB / 1.33 GB, free: 3.547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003607/1.306, allocations: 1.555 MB / 1.331 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00068/1.307, allocations: 11.91 kB / 1.331 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007223/1.308, allocations: 158.1 kB / 1.331 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002773/1.311, allocations: 0.7329 MB / 1.332 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/1.313, allocations: 0.5971 MB / 1.333 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001886/1.315, allocations: 0.7162 MB / 1.333 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006643/1.316, allocations: 228.4 kB / 1.333 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/1.317, allocations: 345 kB / 1.334 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/1.318, allocations: 221.7 kB / 1.334 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.379e-05/1.318, allocations: 22.47 kB / 1.334 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/1.32, allocations: 0.8723 MB / 1.335 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002704/1.32, allocations: 103.6 kB / 1.335 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004729/1.321, allocations: 172.4 kB / 1.335 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/1.323, allocations: 0.7149 MB / 1.336 GB, free: 264 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.323, allocations: 4 kB / 1.336 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/1.323, allocations: 0 / 1.336 GB, free: 260 kB / 1.014 GB Notification: Performance of Transformations before backend: time 2.226e-05/1.323, allocations: 1.531 kB / 1.336 GB, free: 260 kB / 1.014 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.001541/1.325, allocations: 0.6453 MB / 1.337 GB, free: 15.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/1.325, allocations: 9.188 kB / 1.337 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/1.325, allocations: 55.19 kB / 1.337 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/1.326, allocations: 159.7 kB / 1.337 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/1.327, allocations: 319.3 kB / 1.337 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/1.327, allocations: 12.78 kB / 1.337 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/1.327, allocations: 27.19 kB / 1.337 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/1.328, allocations: 284.9 kB / 1.337 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/1.328, allocations: 0 / 1.337 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/1.328, allocations: 10.36 kB / 1.337 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.328, allocations: 5.688 kB / 1.337 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/1.328, allocations: 202.5 kB / 1.338 GB, free: 15.13 MB / 1.029 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.00171/1.33, allocations: 1.204 MB / 1.339 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/1.33, allocations: 136.1 kB / 1.339 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/1.33, allocations: 93.08 kB / 1.339 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/1.331, allocations: 305.2 kB / 1.339 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.331, allocations: 43.56 kB / 1.339 GB, free: 13.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/1.331, allocations: 0 / 1.339 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0008534/1.332, allocations: 288.2 kB / 1.34 GB, free: 13.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.332, allocations: 53.72 kB / 1.34 GB, free: 13.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/1.332, allocations: 312.8 kB / 1.34 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/1.332, allocations: 31.08 kB / 1.34 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/1.333, allocations: 180.6 kB / 1.34 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/1.333, allocations: 52.16 kB / 1.34 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/1.333, allocations: 49.33 kB / 1.34 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.333, allocations: 343.1 kB / 1.341 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/1.333, allocations: 64.25 kB / 1.341 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/1.333, allocations: 132.1 kB / 1.341 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/1.334, allocations: 194.5 kB / 1.341 GB, free: 12.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.334, allocations: 0 / 1.341 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005369/1.334, allocations: 235.5 kB / 1.341 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.334, allocations: 10.34 kB / 1.341 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.334, allocations: 1.125 kB / 1.341 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.334, allocations: 2.594 kB / 1.341 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/1.335, allocations: 46.88 kB / 1.341 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.335, allocations: 1.344 kB / 1.341 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/1.335, allocations: 32.67 kB / 1.341 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/1.335, allocations: 10.25 kB / 1.341 GB, free: 12.45 MB / 1.029 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.0001598/1.335, allocations: 150.8 kB / 1.341 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/1.335, allocations: 34.16 kB / 1.341 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/1.336, allocations: 218.7 kB / 1.342 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.336, allocations: 1.25 kB / 1.342 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.336, allocations: 0 / 1.342 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.336, allocations: 3.375 kB / 1.342 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/1.337, allocations: 0.681 MB / 1.342 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.337, allocations: 4.312 kB / 1.342 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/1.337, allocations: 35.38 kB / 1.342 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/1.337, allocations: 9.625 kB / 1.342 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/1.337, allocations: 8.188 kB / 1.342 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.337, allocations: 2.219 kB / 1.342 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.337, allocations: 6.469 kB / 1.342 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/1.338, allocations: 423.4 kB / 1.343 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/1.338, allocations: 125.6 kB / 1.343 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/1.338, allocations: 11.59 kB / 1.343 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/1.338, allocations: 12.31 kB / 1.343 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/1.338, allocations: 19.36 kB / 1.343 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/1.338, allocations: 5.188 kB / 1.343 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002664/1.339, allocations: 227.2 kB / 1.343 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.339, allocations: 0 / 1.343 GB, free: 11.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004931/1.339, allocations: 80.17 kB / 1.343 GB, free: 11.15 MB / 1.029 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.001341/1.34, allocations: 1.03 MB / 1.344 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004631/1.341, allocations: 183.6 kB / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.341, allocations: 0 / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/1.341, allocations: 85.48 kB / 1.344 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/1.342, allocations: 169 kB / 1.345 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/1.346, allocations: 2.899 MB / 1.347 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/1.347, allocations: 0.7749 MB / 1.348 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002843/1.347, allocations: 66.28 kB / 1.348 GB, free: 7.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.347, allocations: 87.45 kB / 1.348 GB, free: 7.453 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/1.347, allocations: 0 / 1.348 GB, free: 7.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/1.382, allocations: 8.836 MB / 1.357 GB, free: 5.008 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/9.628, allocations: 15.67 kB / 1.357 GB, free: 4.996 MB / 1.029 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