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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 114.2 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 187.7 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.749/2.749, allocations: 443.5 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,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.002056/0.002056, allocations: 63.89 kB / 1.061 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9115/0.9135, allocations: 160.8 MB / 1.218 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2709/1.184, allocations: 168.1 MB / 1.383 GB, free: 14.5 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003293/1.188, allocations: 1.566 MB / 1.384 GB, free: 12.93 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004128/1.188, allocations: 15.88 kB / 1.384 GB, free: 12.92 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006573/1.189, allocations: 154.8 kB / 1.384 GB, free: 12.77 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/1.191, allocations: 0.7391 MB / 1.385 GB, free: 12.02 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/1.193, allocations: 0.6409 MB / 1.386 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001142/1.195, allocations: 0.7207 MB / 1.386 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/1.195, allocations: 189 kB / 1.387 GB, free: 10.47 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007288/1.196, allocations: 346.8 kB / 1.387 GB, free: 10.13 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/1.196, allocations: 239 kB / 1.387 GB, free: 9.898 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/1.196, allocations: 20 kB / 1.387 GB, free: 9.879 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/1.198, allocations: 0.9468 MB / 1.388 GB, free: 8.93 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/1.198, allocations: 115.6 kB / 1.388 GB, free: 8.816 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002068/1.199, allocations: 159.2 kB / 1.388 GB, free: 8.66 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/1.2, allocations: 0.7228 MB / 1.389 GB, free: 7.941 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.2, allocations: 3.984 kB / 1.389 GB, free: 7.938 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.413e-06/1.2, allocations: 0 / 1.389 GB, free: 7.938 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.2, allocations: 0 / 1.389 GB, free: 7.938 MB / 1.092 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.001114/1.201, allocations: 0.6576 MB / 1.39 GB, free: 7.23 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.201, allocations: 8.031 kB / 1.39 GB, free: 7.223 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.202, allocations: 159.6 kB / 1.39 GB, free: 7.066 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006053/1.203, allocations: 325.8 kB / 1.39 GB, free: 6.707 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/1.203, allocations: 20.44 kB / 1.39 GB, free: 6.688 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/1.203, allocations: 16 kB / 1.39 GB, free: 6.672 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/1.204, allocations: 283.4 kB / 1.39 GB, free: 6.371 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/1.204, allocations: 3.938 kB / 1.39 GB, free: 6.367 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/1.204, allocations: 12 kB / 1.39 GB, free: 6.355 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/1.204, allocations: 4 kB / 1.39 GB, free: 6.352 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/1.204, allocations: 199.8 kB / 1.391 GB, free: 6.156 MB / 1.092 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.001664/1.206, allocations: 1.206 MB / 1.392 GB, free: 4.848 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/1.206, allocations: 130.4 kB / 1.392 GB, free: 4.711 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/1.206, allocations: 89.08 kB / 1.392 GB, free: 4.621 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006561/1.207, allocations: 299.2 kB / 1.392 GB, free: 4.273 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/1.207, allocations: 46.44 kB / 1.392 GB, free: 4.219 MB / 1.092 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/1.207, allocations: 0 / 1.392 GB, free: 4.219 MB / 1.092 GB Notification: Performance of matching and sorting (n=15): time 0.0008361/1.208, allocations: 274.2 kB / 1.393 GB, free: 3.945 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/1.208, allocations: 55.41 kB / 1.393 GB, free: 3.879 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/1.208, allocations: 320.4 kB / 1.393 GB, free: 3.562 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/1.208, allocations: 29.7 kB / 1.393 GB, free: 3.527 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/1.209, allocations: 180.3 kB / 1.393 GB, free: 3.348 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/1.209, allocations: 63.47 kB / 1.393 GB, free: 3.285 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/1.209, allocations: 41.7 kB / 1.393 GB, free: 3.238 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.209, allocations: 342.8 kB / 1.394 GB, free: 2.895 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.209, allocations: 63.94 kB / 1.394 GB, free: 2.832 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/1.209, allocations: 127.3 kB / 1.394 GB, free: 2.691 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/1.21, allocations: 189 kB / 1.394 GB, free: 2.488 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.21, allocations: 4 kB / 1.394 GB, free: 2.484 MB / 1.092 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004991/1.21, allocations: 238.7 kB / 1.394 GB, free: 2.246 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.21, allocations: 12.03 kB / 1.394 GB, free: 2.234 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.21, allocations: 7.984 kB / 1.394 GB, free: 2.227 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.21, allocations: 0 / 1.394 GB, free: 2.227 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/1.21, allocations: 39.92 kB / 1.394 GB, free: 2.188 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.21, allocations: 4 kB / 1.394 GB, free: 2.184 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/1.211, allocations: 31.77 kB / 1.394 GB, free: 2.152 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/1.211, allocations: 8 kB / 1.394 GB, free: 2.145 MB / 1.092 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.0001781/1.211, allocations: 161.6 kB / 1.394 GB, free: 1.977 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/1.211, allocations: 35.81 kB / 1.395 GB, free: 1.941 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/1.211, allocations: 218.2 kB / 1.395 GB, free: 1.723 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.211, allocations: 4 kB / 1.395 GB, free: 1.719 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/1.211, allocations: 3.938 kB / 1.395 GB, free: 1.715 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.211, allocations: 0 / 1.395 GB, free: 1.715 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/1.213, allocations: 0.6835 MB / 1.395 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.213, allocations: 4 kB / 1.395 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/1.213, allocations: 27.98 kB / 1.395 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/1.213, allocations: 12.16 kB / 1.395 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/1.213, allocations: 7.984 kB / 1.395 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.213, allocations: 3.938 kB / 1.395 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.213, allocations: 4 kB / 1.395 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007074/1.214, allocations: 425.2 kB / 1.396 GB, free: 452 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/1.214, allocations: 124.8 kB / 1.396 GB, free: 308 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/1.214, allocations: 11.94 kB / 1.396 GB, free: 296 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/1.214, allocations: 7.984 kB / 1.396 GB, free: 288 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/1.214, allocations: 20.05 kB / 1.396 GB, free: 268 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/1.214, allocations: 4 kB / 1.396 GB, free: 264 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002556/1.214, allocations: 227 kB / 1.396 GB, free: 36 kB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/1.214, allocations: 0 / 1.396 GB, free: 36 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004426/1.215, allocations: 79.98 kB / 1.396 GB, free: 15.95 MB / 1.107 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.0004095/1.215, allocations: 177.3 kB / 1.396 GB, free: 15.78 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004658/1.216, allocations: 165.3 kB / 1.397 GB, free: 15.62 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.216, allocations: 3.938 kB / 1.397 GB, free: 15.62 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/1.216, allocations: 92.45 kB / 1.397 GB, free: 15.53 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/1.217, allocations: 157 kB / 1.397 GB, free: 15.38 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.218, allocations: 0.6174 MB / 1.397 GB, free: 14.71 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/1.218, allocations: 0.7795 MB / 1.398 GB, free: 13.91 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002231/1.218, allocations: 66.92 kB / 1.398 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/1.219, allocations: 23.44 kB / 1.398 GB, free: 13.81 MB / 1.107 GB Notification: Performance of SimCode: time 3.41e-07/1.219, allocations: 0 / 1.398 GB, free: 13.81 MB / 1.107 GB Notification: Performance of Templates: time 0.01292/1.231, allocations: 5.902 MB / 1.404 GB, free: 8.008 MB / 1.107 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 9.485400744713843]