Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00241/0.00241, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002746/0.002746, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.669/1.669, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.152/3.152, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.427e-05, allocations: 12.16 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2402/0.2402, allocations: 163.6 MB / 0.9706 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.004094/0.2443, allocations: 1.577 MB / 0.9721 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/0.2448, allocations: 15.88 kB / 0.9721 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.2454, allocations: 162.7 kB / 0.9723 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.2478, allocations: 0.7112 MB / 0.973 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.2498, allocations: 0.6579 MB / 0.9736 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.2508, allocations: 0.6971 MB / 0.9743 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003871/0.2512, allocations: 197.1 kB / 0.9745 GB, free: 9.941 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.2525, allocations: 0.588 MB / 0.9751 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.2528, allocations: 191.4 kB / 0.9753 GB, free: 9.164 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.2529, allocations: 20 kB / 0.9753 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.2542, allocations: 0.7203 MB / 0.976 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.2544, allocations: 119.6 kB / 0.9761 GB, free: 8.305 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.2546, allocations: 119.7 kB / 0.9762 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.2558, allocations: 0.7283 MB / 0.9769 GB, free: 7.457 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2558, allocations: 0 / 0.9769 GB, free: 7.457 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2558, allocations: 0 / 0.9769 GB, free: 7.457 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2558, allocations: 0 / 0.9769 GB, free: 7.457 MB / 0.9323 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.001195/0.257, allocations: 0.6975 MB / 0.9776 GB, free: 6.719 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.257, allocations: 11.97 kB / 0.9776 GB, free: 6.707 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.2583, allocations: 211.2 kB / 0.9778 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.2588, allocations: 271.3 kB / 0.9781 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.2589, allocations: 20.5 kB / 0.9781 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.2589, allocations: 27.98 kB / 0.9781 GB, free: 6.164 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.2594, allocations: 262.4 kB / 0.9784 GB, free: 5.883 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2594, allocations: 0 / 0.9784 GB, free: 5.883 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.2595, allocations: 8 kB / 0.9784 GB, free: 5.875 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2595, allocations: 7.938 kB / 0.9784 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.2598, allocations: 151.8 kB / 0.9785 GB, free: 5.719 MB / 0.9323 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.001816/0.2617, allocations: 1.183 MB / 0.9797 GB, free: 4.48 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.2619, allocations: 115 kB / 0.9798 GB, free: 4.355 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.2621, allocations: 64.86 kB / 0.9799 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.2625, allocations: 71.92 kB / 0.9799 GB, free: 4.219 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.2626, allocations: 37.39 kB / 0.98 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.2626, allocations: 0 / 0.98 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0007284/0.2633, allocations: 227.9 kB / 0.9802 GB, free: 3.945 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.2634, allocations: 55.34 kB / 0.9802 GB, free: 3.879 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.2637, allocations: 328.3 kB / 0.9805 GB, free: 3.543 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.2638, allocations: 33.7 kB / 0.9806 GB, free: 3.504 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.264, allocations: 243 kB / 0.9808 GB, free: 3.262 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.264, allocations: 55.53 kB / 0.9809 GB, free: 3.207 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2641, allocations: 59.31 kB / 0.9809 GB, free: 3.141 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002847/0.2644, allocations: 0.5157 MB / 0.9814 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.2646, allocations: 51.91 kB / 0.9815 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.2648, allocations: 192.9 kB / 0.9817 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.2651, allocations: 181.3 kB / 0.9818 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2652, allocations: 0 / 0.9818 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004461/0.2656, allocations: 213.3 kB / 0.982 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2656, allocations: 7.984 kB / 0.982 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2656, allocations: 3.938 kB / 0.982 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2656, allocations: 4 kB / 0.9821 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.2658, allocations: 43.92 kB / 0.9821 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2658, allocations: 0 / 0.9821 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.266, allocations: 23.98 kB / 0.9821 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.266, allocations: 11.98 kB / 0.9821 GB, free: 1.824 MB / 0.9323 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.0001732/0.2662, allocations: 180.5 kB / 0.9823 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.2663, allocations: 31.8 kB / 0.9823 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.2667, allocations: 175.3 kB / 0.9825 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.2667, allocations: 8 kB / 0.9825 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.2667, allocations: 0 / 0.9825 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2667, allocations: 3.984 kB / 0.9825 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.2678, allocations: 0.6588 MB / 0.9832 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2678, allocations: 0 / 0.9832 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.268, allocations: 27.98 kB / 0.9832 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.268, allocations: 4 kB / 0.9832 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.268, allocations: 8 kB / 0.9832 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.268, allocations: 3.938 kB / 0.9832 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.268, allocations: 4.219 kB / 0.9832 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.2687, allocations: 445.3 kB / 0.9836 GB, free: 156 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2688, allocations: 39.83 kB / 0.9837 GB, free: 116 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.2688, allocations: 4 kB / 0.9837 GB, free: 112 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.269, allocations: 8 kB / 0.9837 GB, free: 104 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.269, allocations: 19.91 kB / 0.9837 GB, free: 84 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.269, allocations: 4 kB / 0.9837 GB, free: 80 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002282/0.2693, allocations: 221.1 kB / 0.9839 GB, free: 15.86 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.2693, allocations: 0 / 0.9839 GB, free: 15.86 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004429/0.2697, allocations: 95.86 kB / 0.984 GB, free: 15.77 MB / 0.948 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.000365/0.2701, allocations: 151.1 kB / 0.9841 GB, free: 15.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.2705, allocations: 150.5 kB / 0.9843 GB, free: 15.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2705, allocations: 4 kB / 0.9843 GB, free: 15.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.2707, allocations: 84.03 kB / 0.9844 GB, free: 15.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.2716, allocations: 123.7 kB / 0.9845 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.2727, allocations: 0.5707 MB / 0.985 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.2729, allocations: 166.8 kB / 0.9852 GB, free: 14.45 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.2731, allocations: 58.22 kB / 0.9853 GB, free: 14.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.2732, allocations: 20.5 kB / 0.9853 GB, free: 14.37 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.2732, allocations: 0 / 0.9853 GB, free: 14.37 MB / 0.948 GB Notification: Performance of Templates: time 0.01155/0.2847, allocations: 4.842 MB / 0.99 GB, free: 9.68 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.026413431973197]