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: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 109.3 kB / 16.37 MB, free: 6.477 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.00169/0.00169, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.396/2.396, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.75 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3082, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6846/0.9929, allocations: 167.4 MB / 1.19 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.9959, allocations: 1.558 MB / 1.192 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.9962, allocations: 12.12 kB / 1.192 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.9968, allocations: 147 kB / 1.192 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.9987, allocations: 0.6994 MB / 1.193 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/1, allocations: 0.603 MB / 1.193 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009233/1.001, allocations: 0.7048 MB / 1.194 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/1.002, allocations: 226 kB / 1.194 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005874/1.002, allocations: 330.9 kB / 1.194 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/1.003, allocations: 224.3 kB / 1.195 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/1.003, allocations: 22.53 kB / 1.195 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/1.004, allocations: 0.8702 MB / 1.195 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/1.004, allocations: 102 kB / 1.196 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/1.005, allocations: 173.8 kB / 1.196 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/1.006, allocations: 0.7226 MB / 1.196 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.006, allocations: 0 / 1.196 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/1.006, allocations: 0 / 1.196 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.006, allocations: 0 / 1.196 GB, free: 9.262 MB / 0.9044 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.0009945/1.007, allocations: 0.6456 MB / 1.197 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/1.007, allocations: 9.469 kB / 1.197 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/1.008, allocations: 159.6 kB / 1.197 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/1.008, allocations: 317.4 kB / 1.197 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/1.008, allocations: 18.59 kB / 1.197 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/1.009, allocations: 22.19 kB / 1.198 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/1.009, allocations: 276.2 kB / 1.198 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.009, allocations: 3.938 kB / 1.198 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/1.009, allocations: 10.53 kB / 1.198 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.009, allocations: 4.812 kB / 1.198 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/1.01, allocations: 198.4 kB / 1.198 GB, free: 8.008 MB / 0.9044 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.001425/1.011, allocations: 1.215 MB / 1.199 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/1.011, allocations: 133.5 kB / 1.199 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/1.011, allocations: 90.89 kB / 1.199 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005901/1.012, allocations: 302.8 kB / 1.2 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.012, allocations: 39.75 kB / 1.2 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/1.012, allocations: 0 / 1.2 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0007857/1.013, allocations: 281.5 kB / 1.2 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/1.013, allocations: 53.06 kB / 1.2 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/1.013, allocations: 324 kB / 1.2 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/1.013, allocations: 28.64 kB / 1.2 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/1.013, allocations: 179.3 kB / 1.201 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/1.014, allocations: 54.86 kB / 1.201 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/1.014, allocations: 41.8 kB / 1.201 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.014, allocations: 342.6 kB / 1.201 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/1.014, allocations: 61.73 kB / 1.201 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/1.014, allocations: 128.8 kB / 1.201 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/1.014, allocations: 191 kB / 1.201 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.014, allocations: 0 / 1.201 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000442/1.015, allocations: 241.8 kB / 1.202 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.015, allocations: 9.328 kB / 1.202 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.015, allocations: 2.75 kB / 1.202 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.015, allocations: 2.531 kB / 1.202 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/1.015, allocations: 39.38 kB / 1.202 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/1.015, allocations: 10.53 kB / 1.202 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/1.015, allocations: 34.52 kB / 1.202 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/1.015, allocations: 15.67 kB / 1.202 GB, free: 4.938 MB / 0.9044 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.0001501/1.016, allocations: 155.8 kB / 1.202 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/1.016, allocations: 26.09 kB / 1.202 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/1.016, allocations: 222.1 kB / 1.202 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.016, allocations: 6.656 kB / 1.202 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.016, allocations: 0 / 1.202 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.016, allocations: 1.125 kB / 1.202 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/1.017, allocations: 0.6773 MB / 1.203 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.017, allocations: 2.969 kB / 1.203 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/1.017, allocations: 31.14 kB / 1.203 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.017, allocations: 2.562 kB / 1.203 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/1.017, allocations: 14.48 kB / 1.203 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.017, allocations: 2.5 kB / 1.203 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.017, allocations: 3.875 kB / 1.203 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/1.018, allocations: 435 kB / 1.203 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/1.018, allocations: 128.1 kB / 1.203 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/1.018, allocations: 7.469 kB / 1.203 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/1.018, allocations: 12.2 kB / 1.203 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/1.018, allocations: 15.95 kB / 1.203 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/1.018, allocations: 5.094 kB / 1.203 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002029/1.019, allocations: 229 kB / 1.204 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 0 / 1.204 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000392/1.019, allocations: 80.06 kB / 1.204 GB, free: 3.414 MB / 0.9044 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.0003696/1.019, allocations: 164.2 kB / 1.204 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004113/1.02, allocations: 176.3 kB / 1.204 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.02, allocations: 0 / 1.204 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/1.02, allocations: 90.69 kB / 1.204 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/1.021, allocations: 177.3 kB / 1.204 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/1.022, allocations: 0.6014 MB / 1.205 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/1.022, allocations: 0.777 MB / 1.206 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001876/1.022, allocations: 63.44 kB / 1.206 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/1.023, allocations: 24.62 kB / 1.206 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of SimCode: time 3.1e-07/1.023, allocations: 2.5 kB / 1.206 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of Templates: time 0.01092/1.033, allocations: 5.726 MB / 1.211 GB, free: 15.05 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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