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: 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_10_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_10_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.007289/0.007289, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.0016/0.0016, allocations: 195.4 kB / 16.68 MB, free: 5.523 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.137 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.713/2.713, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3099, allocations: 151.6 MB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8773/1.187, allocations: 167.4 MB / 1.33 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003442/1.191, allocations: 1.552 MB / 1.332 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/1.191, allocations: 10.53 kB / 1.332 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005882/1.192, allocations: 149.4 kB / 1.332 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/1.194, allocations: 0.6964 MB / 1.332 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/1.196, allocations: 0.6031 MB / 1.333 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009369/1.197, allocations: 0.6986 MB / 1.334 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/1.197, allocations: 236.5 kB / 1.334 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000656/1.198, allocations: 341.8 kB / 1.334 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/1.198, allocations: 214.2 kB / 1.334 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/1.198, allocations: 23.03 kB / 1.334 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/1.2, allocations: 0.8713 MB / 1.335 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/1.2, allocations: 115.2 kB / 1.335 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/1.201, allocations: 158 kB / 1.336 GB, free: 440 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/1.202, allocations: 0.7212 MB / 1.336 GB, free: 196 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.202, allocations: 2.344 kB / 1.336 GB, free: 196 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.285e-06/1.202, allocations: 1.031 kB / 1.336 GB, free: 196 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.625e-06/1.202, allocations: 0 / 1.336 GB, free: 196 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.001005/1.203, allocations: 0.6558 MB / 1.337 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.203, allocations: 10.31 kB / 1.337 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/1.204, allocations: 160.5 kB / 1.337 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/1.205, allocations: 327.3 kB / 1.337 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/1.205, allocations: 17.59 kB / 1.337 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/1.205, allocations: 22.88 kB / 1.337 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/1.205, allocations: 280.1 kB / 1.338 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.205, allocations: 9.125 kB / 1.338 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/1.205, allocations: 5.562 kB / 1.338 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.205, allocations: 6.812 kB / 1.338 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/1.206, allocations: 198.6 kB / 1.338 GB, free: 15.11 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.001439/1.207, allocations: 1.2 MB / 1.339 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/1.208, allocations: 139.4 kB / 1.339 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/1.208, allocations: 91.98 kB / 1.339 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/1.208, allocations: 306.8 kB / 1.34 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1.208, allocations: 38.12 kB / 1.34 GB, free: 13.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/1.208, allocations: 0 / 1.34 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0007769/1.209, allocations: 280.1 kB / 1.34 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/1.209, allocations: 56.91 kB / 1.34 GB, free: 13.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/1.21, allocations: 320.4 kB / 1.34 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/1.21, allocations: 31.23 kB / 1.34 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/1.21, allocations: 183.9 kB / 1.34 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/1.21, allocations: 58.11 kB / 1.341 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/1.21, allocations: 42.94 kB / 1.341 GB, free: 13.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.21, allocations: 339.2 kB / 1.341 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/1.21, allocations: 66.75 kB / 1.341 GB, free: 12.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/1.21, allocations: 130.6 kB / 1.341 GB, free: 12.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/1.211, allocations: 192.2 kB / 1.341 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.211, allocations: 0 / 1.341 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004629/1.211, allocations: 241.1 kB / 1.341 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.211, allocations: 6.094 kB / 1.341 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.211, allocations: 1.344 kB / 1.341 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/1.211, allocations: 2.625 kB / 1.341 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/1.212, allocations: 53.19 kB / 1.342 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.212, allocations: 2 kB / 1.342 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/1.212, allocations: 30.98 kB / 1.342 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/1.212, allocations: 12 kB / 1.342 GB, free: 12.42 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.0001526/1.212, allocations: 152.2 kB / 1.342 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/1.212, allocations: 29.88 kB / 1.342 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/1.212, allocations: 221.3 kB / 1.342 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.212, allocations: 1.469 kB / 1.342 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.212, allocations: 3.125 kB / 1.342 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.213, allocations: 0 / 1.342 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/1.214, allocations: 0.6864 MB / 1.343 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.214, allocations: 2.406 kB / 1.343 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/1.214, allocations: 28.67 kB / 1.343 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/1.214, allocations: 6.594 kB / 1.343 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/1.214, allocations: 8.859 kB / 1.343 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/1.214, allocations: 7.5 kB / 1.343 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.214, allocations: 3.906 kB / 1.343 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/1.215, allocations: 435.6 kB / 1.343 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.215, allocations: 125.1 kB / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/1.215, allocations: 9.812 kB / 1.343 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/1.215, allocations: 15.91 kB / 1.343 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/1.215, allocations: 10.88 kB / 1.343 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/1.215, allocations: 13.31 kB / 1.343 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002206/1.215, allocations: 226.2 kB / 1.343 GB, free: 11.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.215, allocations: 0 / 1.343 GB, free: 11.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000428/1.216, allocations: 74.31 kB / 1.344 GB, free: 11.11 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.0004272/1.216, allocations: 168.5 kB / 1.344 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004541/1.217, allocations: 182.8 kB / 1.344 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.217, allocations: 1.156 kB / 1.344 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/1.217, allocations: 82.33 kB / 1.344 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000899/1.218, allocations: 176.3 kB / 1.344 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/1.219, allocations: 0.6053 MB / 1.345 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/1.219, allocations: 0.7775 MB / 1.345 GB, free: 9.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002516/1.22, allocations: 66.56 kB / 1.346 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/1.22, allocations: 23.62 kB / 1.346 GB, free: 9.73 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/1.22, allocations: 1.094 kB / 1.346 GB, free: 9.73 MB / 1.029 GB Notification: Performance of Templates: time 0.01473/1.234, allocations: 5.766 MB / 1.351 GB, free: 8.996 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches