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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002568/0.002568, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.19/3.19, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.403e-05/4.733e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2152/0.2152, allocations: 147.6 MB / 1.022 GB, free: 2.398 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003366/0.2186, allocations: 1.46 MB / 1.023 GB, free: 0.9375 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.219, allocations: 15.88 kB / 1.023 GB, free: 0.9219 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.2197, allocations: 162.8 kB / 1.023 GB, free: 0.7617 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.2218, allocations: 0.7112 MB / 1.024 GB, free: 48 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.2238, allocations: 0.6617 MB / 1.025 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.2251, allocations: 0.6893 MB / 1.025 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004379/0.2255, allocations: 173.5 kB / 1.025 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.227, allocations: 0.5802 MB / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.2274, allocations: 187.4 kB / 1.026 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.2275, allocations: 31.94 kB / 1.026 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.2294, allocations: 0.7203 MB / 1.027 GB, free: 13 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.2296, allocations: 111.7 kB / 1.027 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.2299, allocations: 115.7 kB / 1.027 GB, free: 12.78 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.2316, allocations: 0.7322 MB / 1.028 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2316, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2316, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.2317, allocations: 4 kB / 1.028 GB, free: 12.04 MB / 0.9948 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.001299/0.2329, allocations: 0.5823 MB / 1.028 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.233, allocations: 8.031 kB / 1.028 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.2344, allocations: 207.2 kB / 1.029 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.235, allocations: 260.6 kB / 1.029 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.235, allocations: 20.5 kB / 1.029 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.2351, allocations: 23.94 kB / 1.029 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/0.2357, allocations: 272.3 kB / 1.029 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2357, allocations: 0 / 1.029 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.2357, allocations: 12 kB / 1.029 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2357, allocations: 7.938 kB / 1.029 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.2362, allocations: 195.8 kB / 1.029 GB, free: 10.4 MB / 0.9948 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.001545/0.2378, allocations: 0.9271 MB / 1.03 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.2381, allocations: 138.4 kB / 1.03 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.2383, allocations: 80.75 kB / 1.031 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005348/0.2388, allocations: 83.89 kB / 1.031 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.2389, allocations: 34.56 kB / 1.031 GB, free: 9.074 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.2389, allocations: 4 kB / 1.031 GB, free: 9.07 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0009038/0.2398, allocations: 273.6 kB / 1.031 GB, free: 8.797 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.2398, allocations: 59.34 kB / 1.031 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.2401, allocations: 245.8 kB / 1.031 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.2402, allocations: 33.7 kB / 1.031 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.2403, allocations: 184.2 kB / 1.031 GB, free: 8.25 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.2404, allocations: 51.55 kB / 1.031 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.2405, allocations: 45.7 kB / 1.032 GB, free: 8.148 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2407, allocations: 326.8 kB / 1.032 GB, free: 7.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.2409, allocations: 71.94 kB / 1.032 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.2412, allocations: 198.2 kB / 1.032 GB, free: 7.52 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.2417, allocations: 180 kB / 1.032 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2417, allocations: 0 / 1.032 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005767/0.2423, allocations: 257.3 kB / 1.033 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.2423, allocations: 8 kB / 1.033 GB, free: 7.062 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2423, allocations: 0 / 1.033 GB, free: 7.062 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.2424, allocations: 7.938 kB / 1.033 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.2426, allocations: 35.98 kB / 1.033 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2426, allocations: 0 / 1.033 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.2428, allocations: 27.88 kB / 1.033 GB, free: 6.992 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.2428, allocations: 12 kB / 1.033 GB, free: 6.98 MB / 0.9948 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.0001823/0.243, allocations: 157.7 kB / 1.033 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.2431, allocations: 35.81 kB / 1.033 GB, free: 6.781 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/0.2436, allocations: 207.3 kB / 1.033 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2436, allocations: 0 / 1.033 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2436, allocations: 0 / 1.033 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.2436, allocations: 7.984 kB / 1.033 GB, free: 6.562 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.2448, allocations: 0.6012 MB / 1.034 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2448, allocations: 4 kB / 1.034 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.245, allocations: 39.91 kB / 1.034 GB, free: 5.859 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.245, allocations: 0 / 1.034 GB, free: 5.859 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2451, allocations: 4 kB / 1.034 GB, free: 5.855 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.2451, allocations: 4 kB / 1.034 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2451, allocations: 3.938 kB / 1.034 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.2459, allocations: 444.7 kB / 1.034 GB, free: 5.379 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/0.246, allocations: 35.81 kB / 1.034 GB, free: 5.344 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.246, allocations: 8 kB / 1.034 GB, free: 5.336 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.2462, allocations: 11.98 kB / 1.034 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.2463, allocations: 15.92 kB / 1.034 GB, free: 5.309 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2463, allocations: 8 kB / 1.034 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001925/0.2465, allocations: 173.2 kB / 1.034 GB, free: 5.133 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2465, allocations: 0 / 1.034 GB, free: 5.133 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004594/0.247, allocations: 95.89 kB / 1.034 GB, free: 5.039 MB / 0.9948 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.0003335/0.2473, allocations: 155.2 kB / 1.035 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004808/0.2478, allocations: 159.8 kB / 1.035 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2478, allocations: 0 / 1.035 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.248, allocations: 88.06 kB / 1.035 GB, free: 4.637 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.2488, allocations: 119.7 kB / 1.035 GB, free: 4.523 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2499, allocations: 0.5617 MB / 1.035 GB, free: 3.91 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2501, allocations: 170.8 kB / 1.036 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000193/0.2503, allocations: 50.25 kB / 1.036 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.2504, allocations: 24.5 kB / 1.036 GB, free: 3.652 MB / 0.9948 GB Notification: Performance of SimCode: time 4.41e-07/0.2504, allocations: 0 / 1.036 GB, free: 3.652 MB / 0.9948 GB Notification: Performance of Templates: time 0.01113/0.2615, allocations: 4.711 MB / 1.04 GB, free: 15.07 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.705909091979265]