Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001858/0.001858, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002134/0.002134, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.97/2.97, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.09e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2352/0.2352, allocations: 163.6 MB / 0.9461 GB, free: 8.664 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003238/0.2385, allocations: 1.581 MB / 0.9477 GB, free: 7.082 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.2388, allocations: 19.88 kB / 0.9477 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.2393, allocations: 158.8 kB / 0.9479 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.2413, allocations: 0.7189 MB / 0.9486 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.2431, allocations: 0.654 MB / 0.9492 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0009982/0.2441, allocations: 0.7088 MB / 0.9499 GB, free: 4.816 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003761/0.2444, allocations: 177.3 kB / 0.9501 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008311/0.2453, allocations: 446.7 kB / 0.9505 GB, free: 4.203 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.2456, allocations: 195.4 kB / 0.9507 GB, free: 4.012 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.2457, allocations: 24 kB / 0.9507 GB, free: 3.988 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.2474, allocations: 0.7319 MB / 0.9514 GB, free: 3.254 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.2476, allocations: 119.7 kB / 0.9515 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.2477, allocations: 123.6 kB / 0.9516 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.2491, allocations: 0.7283 MB / 0.9524 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2491, allocations: 4 kB / 0.9524 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2491, allocations: 0 / 0.9524 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2491, allocations: 4 kB / 0.9524 GB, free: 2.281 MB / 0.9011 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.001153/0.2503, allocations: 0.6897 MB / 0.953 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2503, allocations: 8.031 kB / 0.953 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.2516, allocations: 215.1 kB / 0.9532 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.2521, allocations: 271.4 kB / 0.9535 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.2521, allocations: 16.5 kB / 0.9535 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.2522, allocations: 27.94 kB / 0.9536 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.2527, allocations: 258.5 kB / 0.9538 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2527, allocations: 0 / 0.9538 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.2527, allocations: 8 kB / 0.9538 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.2527, allocations: 11.94 kB / 0.9538 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.2531, allocations: 143.9 kB / 0.954 GB, free: 0.5586 MB / 0.9011 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/0.2548, allocations: 1.191 MB / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.255, allocations: 118.9 kB / 0.9552 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.2552, allocations: 67.66 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/0.2556, allocations: 63.94 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.2556, allocations: 37.67 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2556, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0006965/0.2563, allocations: 225.3 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.2564, allocations: 59.34 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.2567, allocations: 336.2 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2568, allocations: 29.7 kB / 0.956 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.257, allocations: 243 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.257, allocations: 55.53 kB / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.2571, allocations: 59.31 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003077/0.2574, allocations: 0.5079 MB / 0.9568 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.2576, allocations: 47.97 kB / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.2579, allocations: 203.2 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.2582, allocations: 176.6 kB / 0.9573 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2582, allocations: 0 / 0.9573 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004418/0.2586, allocations: 213.3 kB / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2586, allocations: 8 kB / 0.9575 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2586, allocations: 4.031 kB / 0.9575 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2587, allocations: 8 kB / 0.9575 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2588, allocations: 31.98 kB / 0.9575 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.2588, allocations: 4 kB / 0.9575 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.259, allocations: 23.88 kB / 0.9575 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.259, allocations: 8 kB / 0.9575 GB, free: 12.66 MB / 0.9167 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.0001752/0.2592, allocations: 176.5 kB / 0.9577 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.2593, allocations: 35.8 kB / 0.9577 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.2597, allocations: 183.2 kB / 0.9579 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2597, allocations: 4 kB / 0.9579 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.2597, allocations: 0 / 0.9579 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2597, allocations: 0 / 0.9579 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.2612, allocations: 0.655 MB / 0.9586 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2612, allocations: 0 / 0.9586 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.2614, allocations: 36.14 kB / 0.9586 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2614, allocations: 11.94 kB / 0.9586 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2614, allocations: 3.984 kB / 0.9586 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.2614, allocations: 4 kB / 0.9586 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.2614, allocations: 8.141 kB / 0.9586 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.2621, allocations: 446 kB / 0.9591 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.2621, allocations: 35.84 kB / 0.9591 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.2622, allocations: 4 kB / 0.9591 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2623, allocations: 11.98 kB / 0.9591 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.2624, allocations: 19.95 kB / 0.9591 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2624, allocations: 8 kB / 0.9591 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002176/0.2626, allocations: 217.1 kB / 0.9593 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.2626, allocations: 3.938 kB / 0.9593 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004104/0.263, allocations: 95.81 kB / 0.9594 GB, free: 10.59 MB / 0.9167 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.0002825/0.2633, allocations: 143.1 kB / 0.9596 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.2637, allocations: 152.9 kB / 0.9597 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2637, allocations: 0 / 0.9597 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.2639, allocations: 80.94 kB / 0.9598 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007576/0.2646, allocations: 114.9 kB / 0.9599 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.2657, allocations: 0.575 MB / 0.9605 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.2659, allocations: 166.8 kB / 0.9606 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.266, allocations: 46.25 kB / 0.9607 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.2661, allocations: 24.5 kB / 0.9607 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of SimCode: time 6.62e-07/0.2661, allocations: 0 / 0.9607 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of Templates: time 0.01115/0.2772, allocations: 4.84 MB / 0.9654 GB, free: 4.523 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.579595462069847]