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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001389/0.001388, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001401/0.001401, allocations: 189.2 kB / 16.25 MB, free: 6.59 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.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.092/2.092, allocations: 390.3 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.8122 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5876, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1763/0.764, allocations: 165.1 MB / 1.11 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.7669, allocations: 1.552 MB / 1.112 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.7673, allocations: 11.94 kB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.7678, allocations: 127.2 kB / 1.112 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.7697, allocations: 0.6614 MB / 1.113 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.7713, allocations: 0.5457 MB / 1.113 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008426/0.7722, allocations: 0.7168 MB / 1.114 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004482/0.7727, allocations: 217 kB / 1.114 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/0.7734, allocations: 346.7 kB / 1.115 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.7738, allocations: 227.1 kB / 1.115 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.7739, allocations: 24 kB / 1.115 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.7753, allocations: 0.8999 MB / 1.116 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.7755, allocations: 107.7 kB / 1.116 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.7757, allocations: 167.1 kB / 1.116 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.777, allocations: 0.7713 MB / 1.117 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.777, allocations: 0 / 1.117 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.403e-06/0.777, allocations: 0 / 1.117 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.777, allocations: 4 kB / 1.117 GB, free: 6.035 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.0009236/0.7779, allocations: 0.6466 MB / 1.117 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.778, allocations: 8.031 kB / 1.117 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.7781, allocations: 62.48 kB / 1.117 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.7792, allocations: 155.4 kB / 1.118 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.7797, allocations: 301.7 kB / 1.118 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.7797, allocations: 20.44 kB / 1.118 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.7798, allocations: 24 kB / 1.118 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.7803, allocations: 279.4 kB / 1.118 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.7803, allocations: 4 kB / 1.118 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.7803, allocations: 8 kB / 1.118 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.7803, allocations: 8 kB / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.7807, allocations: 195.8 kB / 1.118 GB, free: 4.223 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.001462/0.7822, allocations: 1.213 MB / 1.119 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.7825, allocations: 130.5 kB / 1.12 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.7827, allocations: 88.8 kB / 1.12 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006704/0.7834, allocations: 315.1 kB / 1.12 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.7834, allocations: 34.56 kB / 1.12 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.7834, allocations: 0 / 1.12 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.000742/0.7842, allocations: 279.5 kB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.7842, allocations: 55.41 kB / 1.12 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.7845, allocations: 320.5 kB / 1.121 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7846, allocations: 25.7 kB / 1.121 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.7847, allocations: 176.2 kB / 1.121 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.7848, allocations: 59.19 kB / 1.121 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.7848, allocations: 37.72 kB / 1.121 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.785, allocations: 346.8 kB / 1.121 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.7852, allocations: 67.95 kB / 1.121 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.7854, allocations: 121 kB / 1.121 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.7858, allocations: 194.4 kB / 1.122 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7858, allocations: 0 / 1.122 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004563/0.7863, allocations: 241.2 kB / 1.122 GB, free: 308 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7863, allocations: 4 kB / 1.122 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.7863, allocations: 7.938 kB / 1.122 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.7863, allocations: 0 / 1.122 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.7865, allocations: 39.98 kB / 1.122 GB, free: 256 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.7865, allocations: 11.92 kB / 1.122 GB, free: 244 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.7868, allocations: 35.67 kB / 1.122 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.7868, allocations: 12 kB / 1.122 GB, free: 196 kB / 0.8731 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.0001489/0.787, allocations: 153.8 kB / 1.122 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.787, allocations: 23.72 kB / 1.122 GB, free: 8 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/0.7875, allocations: 216.3 kB / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.7875, allocations: 4 kB / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.7875, allocations: 0 / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7876, allocations: 0 / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.7885, allocations: 0.6875 MB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7886, allocations: 8.031 kB / 1.123 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.7887, allocations: 31.92 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.7887, allocations: 3.938 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.7888, allocations: 8 kB / 1.123 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.7888, allocations: 4 kB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.7888, allocations: 4 kB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.7894, allocations: 434.9 kB / 1.124 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.7896, allocations: 128.7 kB / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.7896, allocations: 8.062 kB / 1.124 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.7898, allocations: 19.89 kB / 1.124 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.7899, allocations: 15.92 kB / 1.124 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.7899, allocations: 8 kB / 1.124 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002572/0.7902, allocations: 227 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7902, allocations: 0 / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004034/0.7906, allocations: 76 kB / 1.124 GB, free: 14.01 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.00114/0.7917, allocations: 1.039 MB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.7922, allocations: 178.2 kB / 1.125 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7922, allocations: 0 / 1.125 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.7924, allocations: 87.83 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.7933, allocations: 162.7 kB / 1.125 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.7969, allocations: 3.003 MB / 1.128 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.7973, allocations: 0.7756 MB / 1.129 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.7975, allocations: 70.92 kB / 1.129 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.7976, allocations: 87.41 kB / 1.129 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of SimCode: time 3.6e-07/0.7976, allocations: 0 / 1.129 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.831, allocations: 8.581 MB / 1.138 GB, free: 40 kB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003457/0.8314, allocations: 243.9 kB / 1.138 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.837, allocations: 0 / 1.138 GB, free: 15.77 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