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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.9 MB, free: 3.199 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.5 MB / 0.7309 GB, free: 13.99 MB / 0.5762 GB [Timeout remaining time 87] 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=502,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=502,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.88 kB / 1.06 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3514, allocations: 160.7 MB / 1.217 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8809/1.232, allocations: 167.9 MB / 1.381 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003491/1.236, allocations: 1.55 MB / 1.382 GB, free: 8.926 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/1.236, allocations: 11.97 kB / 1.382 GB, free: 8.922 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005895/1.237, allocations: 157.7 kB / 1.382 GB, free: 8.816 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/1.239, allocations: 0.7283 MB / 1.383 GB, free: 8.438 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/1.241, allocations: 0.6129 MB / 1.384 GB, free: 8.137 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001068/1.242, allocations: 0.7113 MB / 1.384 GB, free: 7.812 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/1.242, allocations: 190.5 kB / 1.384 GB, free: 7.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006789/1.243, allocations: 342.5 kB / 1.385 GB, free: 7.586 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/1.243, allocations: 240.9 kB / 1.385 GB, free: 7.484 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/1.244, allocations: 23.09 kB / 1.385 GB, free: 7.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/1.246, allocations: 0.9285 MB / 1.386 GB, free: 7.113 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/1.246, allocations: 112.1 kB / 1.386 GB, free: 7.043 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/1.246, allocations: 166.3 kB / 1.386 GB, free: 6.941 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/1.247, allocations: 0.7185 MB / 1.387 GB, free: 6.523 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.247, allocations: 0 / 1.387 GB, free: 6.523 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.504e-06/1.247, allocations: 0 / 1.387 GB, free: 6.523 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.565e-06/1.247, allocations: 1.156 kB / 1.387 GB, free: 6.523 MB / 1.061 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.001132/1.249, allocations: 0.6628 MB / 1.387 GB, free: 5.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.249, allocations: 9.031 kB / 1.387 GB, free: 5.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/1.25, allocations: 160.2 kB / 1.388 GB, free: 5.852 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/1.25, allocations: 328.6 kB / 1.388 GB, free: 5.543 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/1.25, allocations: 17.28 kB / 1.388 GB, free: 5.535 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/1.251, allocations: 22.69 kB / 1.388 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/1.251, allocations: 275.4 kB / 1.388 GB, free: 5.344 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.251, allocations: 11.88 kB / 1.388 GB, free: 5.332 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/1.251, allocations: 11.06 kB / 1.388 GB, free: 5.324 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/1.251, allocations: 4.938 kB / 1.388 GB, free: 5.324 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/1.252, allocations: 197.7 kB / 1.388 GB, free: 5.234 MB / 1.061 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.001614/1.253, allocations: 1.204 MB / 1.39 GB, free: 4.121 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/1.254, allocations: 130.6 kB / 1.39 GB, free: 4.043 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/1.254, allocations: 92.52 kB / 1.39 GB, free: 3.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/1.254, allocations: 303.2 kB / 1.39 GB, free: 3.684 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/1.254, allocations: 39.59 kB / 1.39 GB, free: 3.637 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/1.254, allocations: 0 / 1.39 GB, free: 3.637 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0008576/1.255, allocations: 278.8 kB / 1.39 GB, free: 3.496 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/1.255, allocations: 56.72 kB / 1.391 GB, free: 3.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/1.256, allocations: 315.8 kB / 1.391 GB, free: 3.219 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/1.256, allocations: 26.89 kB / 1.391 GB, free: 3.188 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/1.256, allocations: 189.5 kB / 1.391 GB, free: 3.016 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/1.256, allocations: 61.28 kB / 1.391 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/1.256, allocations: 43.14 kB / 1.391 GB, free: 2.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.256, allocations: 341.3 kB / 1.391 GB, free: 2.594 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/1.256, allocations: 63.45 kB / 1.392 GB, free: 2.566 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/1.257, allocations: 125.8 kB / 1.392 GB, free: 2.473 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/1.257, allocations: 188.3 kB / 1.392 GB, free: 2.348 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.257, allocations: 4 kB / 1.392 GB, free: 2.344 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004982/1.257, allocations: 239.6 kB / 1.392 GB, free: 2.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.257, allocations: 5.344 kB / 1.392 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.257, allocations: 1.125 kB / 1.392 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.257, allocations: 2.375 kB / 1.392 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.258, allocations: 39.83 kB / 1.392 GB, free: 2.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/1.258, allocations: 7.016 kB / 1.392 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/1.258, allocations: 35.19 kB / 1.392 GB, free: 2.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/1.258, allocations: 14.67 kB / 1.392 GB, free: 2.172 MB / 1.061 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.0001667/1.258, allocations: 152 kB / 1.392 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/1.258, allocations: 29.69 kB / 1.392 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/1.259, allocations: 220.8 kB / 1.393 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.259, allocations: 2.656 kB / 1.393 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.259, allocations: 0 / 1.393 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.259, allocations: 4 kB / 1.393 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.26, allocations: 0.681 MB / 1.393 GB, free: 1.301 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.26, allocations: 2.344 kB / 1.393 GB, free: 1.301 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/1.26, allocations: 36.41 kB / 1.393 GB, free: 1.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/1.26, allocations: 2.219 kB / 1.393 GB, free: 1.289 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/1.26, allocations: 11.31 kB / 1.393 GB, free: 1.281 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.26, allocations: 2.562 kB / 1.393 GB, free: 1.281 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.26, allocations: 6.688 kB / 1.393 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007559/1.261, allocations: 441.4 kB / 1.394 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/1.261, allocations: 123.3 kB / 1.394 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/1.261, allocations: 7.562 kB / 1.394 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/1.261, allocations: 13.58 kB / 1.394 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/1.261, allocations: 9.844 kB / 1.394 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.261, allocations: 6.156 kB / 1.394 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002788/1.262, allocations: 226.6 kB / 1.394 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.262, allocations: 4.062 kB / 1.394 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004579/1.262, allocations: 82.03 kB / 1.394 GB, free: 0.6445 MB / 1.061 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.0004938/1.263, allocations: 173.4 kB / 1.394 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005018/1.263, allocations: 168.2 kB / 1.394 GB, free: 456 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.263, allocations: 0 / 1.394 GB, free: 456 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/1.263, allocations: 81.23 kB / 1.395 GB, free: 420 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009061/1.264, allocations: 165.8 kB / 1.395 GB, free: 332 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/1.265, allocations: 0.644 MB / 1.395 GB, free: 15.83 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/1.266, allocations: 0.7793 MB / 1.396 GB, free: 15.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/1.266, allocations: 25.97 kB / 1.396 GB, free: 15.09 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/1.266, allocations: 0 / 1.396 GB, free: 15.09 MB / 1.076 GB Notification: Performance of Templates: time 0.01042/1.276, allocations: 4.876 MB / 1.401 GB, free: 12.57 MB / 1.076 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches