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.001698/0.001698, allocations: 79.5 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002111/0.002111, allocations: 158.9 kB / 23.01 MB, free: 4.945 MB / 14.72 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.935/2.935, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 63.91 kB / 0.982 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9968/0.9989, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2038/1.203, allocations: 147.6 MB / 1.298 GB, free: 13.84 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003911/1.207, allocations: 1.482 MB / 1.3 GB, free: 12.84 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/1.207, allocations: 15.03 kB / 1.3 GB, free: 12.83 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006849/1.208, allocations: 163.4 kB / 1.3 GB, free: 12.72 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/1.21, allocations: 0.6983 MB / 1.3 GB, free: 12.36 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002528/1.213, allocations: 0.63 MB / 1.301 GB, free: 12.05 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001358/1.214, allocations: 0.7039 MB / 1.302 GB, free: 11.72 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/1.215, allocations: 194.3 kB / 1.302 GB, free: 11.59 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/1.216, allocations: 0.4999 MB / 1.302 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/1.216, allocations: 217.4 kB / 1.303 GB, free: 11.17 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/1.216, allocations: 22.16 kB / 1.303 GB, free: 11.17 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/1.218, allocations: 0.7036 MB / 1.303 GB, free: 10.77 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/1.218, allocations: 115.1 kB / 1.303 GB, free: 10.7 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/1.218, allocations: 138.5 kB / 1.304 GB, free: 10.62 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/1.22, allocations: 0.6912 MB / 1.304 GB, free: 10.22 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.22, allocations: 0 / 1.304 GB, free: 10.22 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.853e-06/1.22, allocations: 1.25 kB / 1.304 GB, free: 10.22 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.249e-05/1.22, allocations: 7.938 kB / 1.304 GB, free: 10.21 MB / 1.154 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.00108/1.221, allocations: 0.5773 MB / 1.305 GB, free: 9.723 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.221, allocations: 9 kB / 1.305 GB, free: 9.723 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/1.222, allocations: 163.9 kB / 1.305 GB, free: 9.641 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/1.223, allocations: 259.4 kB / 1.305 GB, free: 9.414 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/1.223, allocations: 14.5 kB / 1.305 GB, free: 9.41 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/1.223, allocations: 23.25 kB / 1.305 GB, free: 9.402 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/1.223, allocations: 288.9 kB / 1.306 GB, free: 9.203 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.223, allocations: 0.8125 kB / 1.306 GB, free: 9.203 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/1.223, allocations: 10.06 kB / 1.306 GB, free: 9.195 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/1.223, allocations: 5.844 kB / 1.306 GB, free: 9.195 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/1.224, allocations: 200.6 kB / 1.306 GB, free: 9.102 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/1.225, allocations: 0.9111 MB / 1.307 GB, free: 8.32 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/1.225, allocations: 129.8 kB / 1.307 GB, free: 8.242 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/1.226, allocations: 89.16 kB / 1.307 GB, free: 8.195 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004917/1.226, allocations: 73.31 kB / 1.307 GB, free: 8.168 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.226, allocations: 31.53 kB / 1.307 GB, free: 8.129 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/1.226, allocations: 0.8125 kB / 1.307 GB, free: 8.129 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.0008369/1.227, allocations: 285.5 kB / 1.307 GB, free: 7.977 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/1.227, allocations: 53.31 kB / 1.307 GB, free: 7.914 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/1.227, allocations: 245.4 kB / 1.307 GB, free: 7.738 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/1.227, allocations: 30.98 kB / 1.307 GB, free: 7.703 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/1.228, allocations: 189.7 kB / 1.308 GB, free: 7.531 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/1.228, allocations: 49.89 kB / 1.308 GB, free: 7.488 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/1.228, allocations: 47 kB / 1.308 GB, free: 7.453 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.228, allocations: 340.7 kB / 1.308 GB, free: 7.117 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/1.228, allocations: 62.55 kB / 1.308 GB, free: 7.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/1.228, allocations: 196.3 kB / 1.308 GB, free: 6.91 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/1.229, allocations: 199.8 kB / 1.309 GB, free: 6.777 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.229, allocations: 5.281 kB / 1.309 GB, free: 6.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000572/1.23, allocations: 231 kB / 1.309 GB, free: 6.648 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.23, allocations: 5.969 kB / 1.309 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.23, allocations: 1.281 kB / 1.309 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/1.23, allocations: 3.281 kB / 1.309 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/1.23, allocations: 39.34 kB / 1.309 GB, free: 6.641 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.23, allocations: 6.844 kB / 1.309 GB, free: 6.637 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/1.23, allocations: 28.31 kB / 1.309 GB, free: 6.617 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/1.23, allocations: 7.969 kB / 1.309 GB, free: 6.617 MB / 1.154 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.00021/1.23, allocations: 156.2 kB / 1.309 GB, free: 6.473 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/1.23, allocations: 26.78 kB / 1.309 GB, free: 6.457 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/1.231, allocations: 214.5 kB / 1.309 GB, free: 6.328 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.231, allocations: 1.219 kB / 1.309 GB, free: 6.328 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.231, allocations: 0 / 1.309 GB, free: 6.328 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.231, allocations: 1.156 kB / 1.309 GB, free: 6.328 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/1.232, allocations: 0.6021 MB / 1.31 GB, free: 5.844 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.232, allocations: 2.219 kB / 1.31 GB, free: 5.844 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/1.232, allocations: 32.48 kB / 1.31 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/1.232, allocations: 1.969 kB / 1.31 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/1.232, allocations: 12 kB / 1.31 GB, free: 5.828 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/1.232, allocations: 11.16 kB / 1.31 GB, free: 5.82 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.232, allocations: 1 kB / 1.31 GB, free: 5.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/1.233, allocations: 432.5 kB / 1.31 GB, free: 5.5 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/1.233, allocations: 36.98 kB / 1.31 GB, free: 5.477 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/1.233, allocations: 7.25 kB / 1.31 GB, free: 5.473 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/1.234, allocations: 13.33 kB / 1.31 GB, free: 5.465 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/1.234, allocations: 23.05 kB / 1.31 GB, free: 5.449 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/1.234, allocations: 9.016 kB / 1.31 GB, free: 5.445 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002248/1.234, allocations: 176.5 kB / 1.311 GB, free: 5.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/1.234, allocations: 0 / 1.311 GB, free: 5.32 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005582/1.234, allocations: 83.23 kB / 1.311 GB, free: 5.305 MB / 1.154 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.0004296/1.235, allocations: 150.7 kB / 1.311 GB, free: 5.184 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005831/1.235, allocations: 171.3 kB / 1.311 GB, free: 5.105 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.235, allocations: 1.219 kB / 1.311 GB, free: 5.105 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/1.236, allocations: 85.83 kB / 1.311 GB, free: 5.066 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008525/1.237, allocations: 125.6 kB / 1.311 GB, free: 5 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.238, allocations: 0.6016 MB / 1.312 GB, free: 4.547 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/1.238, allocations: 177.6 kB / 1.312 GB, free: 4.422 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001998/1.238, allocations: 50.31 kB / 1.312 GB, free: 4.398 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/1.239, allocations: 26.3 kB / 1.312 GB, free: 4.387 MB / 1.154 GB Notification: Performance of SimCode: time 1.133e-06/1.239, allocations: 4.656 kB / 1.312 GB, free: 4.383 MB / 1.154 GB Notification: Performance of Templates: time 0.01251/1.251, allocations: 4.768 MB / 1.317 GB, free: 1.875 MB / 1.154 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] 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/jenkins1/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.632381504052319]