Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_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.001004/0.001004, allocations: 97.64 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.00786/0.00786, allocations: 170.1 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.5731, allocations: 142.4 MB / 0.9552 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1484/0.7215, allocations: 163 MB / 1.114 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.7237, allocations: 1.557 MB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.7239, allocations: 11.94 kB / 1.116 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.7242, allocations: 107.2 kB / 1.116 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.7255, allocations: 0.6691 MB / 1.117 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.7265, allocations: 0.5566 MB / 1.117 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007773/0.7273, allocations: 0.9664 MB / 1.118 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.7276, allocations: 197.4 kB / 1.118 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.7281, allocations: 306.7 kB / 1.119 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.7283, allocations: 231 kB / 1.119 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.7283, allocations: 12 kB / 1.119 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.7295, allocations: 1.017 MB / 1.12 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.7296, allocations: 91.7 kB / 1.12 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.7298, allocations: 180.9 kB / 1.12 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007922/0.7306, allocations: 0.7594 MB / 1.121 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7306, allocations: 3.984 kB / 1.121 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7306, allocations: 0 / 1.121 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.7306, allocations: 0 / 1.121 GB, free: 5.09 MB / 0.8731 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.0007226/0.7314, allocations: 0.5923 MB / 1.121 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.7314, allocations: 11.97 kB / 1.121 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.7314, allocations: 54.55 kB / 1.121 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.7325, allocations: 155.4 kB / 1.122 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.7328, allocations: 309.6 kB / 1.122 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.7329, allocations: 20.44 kB / 1.122 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.7329, allocations: 27.98 kB / 1.122 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.7334, allocations: 279.4 kB / 1.122 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7334, allocations: 0 / 1.122 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.7334, allocations: 12 kB / 1.122 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.7334, allocations: 8 kB / 1.122 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.7338, allocations: 203.8 kB / 1.122 GB, free: 3.32 MB / 0.8731 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.001181/0.735, allocations: 1.213 MB / 1.124 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.7353, allocations: 142.4 kB / 1.124 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.7355, allocations: 100.8 kB / 1.124 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.736, allocations: 323.2 kB / 1.124 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.736, allocations: 34.56 kB / 1.124 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.7361, allocations: 0 / 1.124 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0007053/0.7368, allocations: 297.4 kB / 1.124 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.7368, allocations: 55.34 kB / 1.125 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.7371, allocations: 316.5 kB / 1.125 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.7371, allocations: 25.7 kB / 1.125 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.7372, allocations: 188.1 kB / 1.125 GB, free: 452 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.7373, allocations: 55.2 kB / 1.125 GB, free: 396 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.7373, allocations: 17.72 kB / 1.125 GB, free: 372 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7374, allocations: 342.8 kB / 1.125 GB, free: 20 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.7376, allocations: 71.95 kB / 1.125 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.7378, allocations: 126.9 kB / 1.126 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.7382, allocations: 201 kB / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7382, allocations: 0 / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000442/0.7387, allocations: 250.7 kB / 1.126 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7387, allocations: 8 kB / 1.126 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7387, allocations: 3.938 kB / 1.126 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.7387, allocations: 4 kB / 1.126 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.7389, allocations: 51.86 kB / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.7389, allocations: 0 / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.7391, allocations: 39.73 kB / 1.126 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.7392, allocations: 15.98 kB / 1.126 GB, free: 15.22 MB / 0.8887 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.0001196/0.7393, allocations: 149.7 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.7393, allocations: 31.62 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.7398, allocations: 230 kB / 1.127 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7398, allocations: 4 kB / 1.127 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7398, allocations: 0 / 1.127 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.7398, allocations: 0 / 1.127 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.7407, allocations: 0.6953 MB / 1.127 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7407, allocations: 4.062 kB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.7409, allocations: 39.91 kB / 1.127 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.7409, allocations: 7.938 kB / 1.127 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.7409, allocations: 8 kB / 1.127 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7409, allocations: 0 / 1.127 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.741, allocations: 4 kB / 1.127 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.7416, allocations: 450.7 kB / 1.128 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.7417, allocations: 128.7 kB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.7417, allocations: 11.92 kB / 1.128 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.7419, allocations: 16.06 kB / 1.128 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.742, allocations: 15.97 kB / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.742, allocations: 4 kB / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001866/0.7422, allocations: 223.1 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7422, allocations: 0 / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003516/0.7426, allocations: 87.89 kB / 1.128 GB, free: 12.99 MB / 0.8887 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.001027/0.7436, allocations: 1.048 MB / 1.129 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003782/0.744, allocations: 175.8 kB / 1.129 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.744, allocations: 0 / 1.129 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.7442, allocations: 100 kB / 1.129 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009232/0.7451, allocations: 158.6 kB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.7483, allocations: 3.057 MB / 1.133 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.7486, allocations: 0.7797 MB / 1.133 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000195/0.7488, allocations: 62.92 kB / 1.133 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.7489, allocations: 87.41 kB / 1.133 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of SimCode: time 2.8e-07/0.7489, allocations: 0 / 1.133 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3967/1.146, allocations: 8.242 MB / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/1.146, allocations: 236.5 kB / 1.142 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.902/5.048, allocations: 0 / 1.142 GB, free: 15.03 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches