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.001779/0.001779, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002214/0.002214, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.522/1.522, 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.907/2.907, allocations: 359 MB / 0.6048 GB, free: 10.96 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.543e-06/1.543e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.559e-05/3.713e-05, allocations: 14.39 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2253/0.2253, allocations: 147.6 MB / 0.9305 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003554/0.2289, allocations: 1.484 MB / 0.932 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.2294, allocations: 19.81 kB / 0.932 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007332/0.2301, allocations: 158.8 kB / 0.9321 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.233, allocations: 0.7151 MB / 0.9328 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.2353, allocations: 0.6618 MB / 0.9335 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2366, allocations: 0.7087 MB / 0.9342 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004441/0.237, allocations: 193.2 kB / 0.9343 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009016/0.2379, allocations: 430.7 kB / 0.9348 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.2383, allocations: 195.4 kB / 0.9349 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/0.2383, allocations: 24 kB / 0.935 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.24, allocations: 0.7319 MB / 0.9357 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.2402, allocations: 115.6 kB / 0.9358 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.2404, allocations: 115.8 kB / 0.9359 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.2417, allocations: 0.7361 MB / 0.9366 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2418, allocations: 0 / 0.9366 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2418, allocations: 4 kB / 0.9366 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2418, allocations: 0 / 0.9366 GB, free: 2.457 MB / 0.8855 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.001134/0.2429, allocations: 0.5784 MB / 0.9372 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2429, allocations: 12.03 kB / 0.9372 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.2442, allocations: 215.2 kB / 0.9374 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.2448, allocations: 272.5 kB / 0.9377 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.2448, allocations: 20.5 kB / 0.9377 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.2449, allocations: 20 kB / 0.9377 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.2455, allocations: 284.3 kB / 0.938 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2455, allocations: 0 / 0.938 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.2455, allocations: 4 kB / 0.938 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2455, allocations: 11.94 kB / 0.938 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.246, allocations: 191.8 kB / 0.9382 GB, free: 0.7891 MB / 0.8855 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.001576/0.2476, allocations: 0.9312 MB / 0.9391 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.2482, allocations: 126.5 kB / 0.9392 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.2484, allocations: 84.8 kB / 0.9393 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/0.2489, allocations: 75.91 kB / 0.9394 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.2489, allocations: 34.56 kB / 0.9394 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.2489, allocations: 0 / 0.9394 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0009095/0.2499, allocations: 282.5 kB / 0.9397 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.2499, allocations: 55.34 kB / 0.9397 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.2502, allocations: 253.8 kB / 0.94 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2503, allocations: 33.7 kB / 0.94 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.2504, allocations: 188.2 kB / 0.9402 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/0.2505, allocations: 51.53 kB / 0.9402 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.2506, allocations: 45.7 kB / 0.9403 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002368/0.2508, allocations: 334.8 kB / 0.9406 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.251, allocations: 67.95 kB / 0.9406 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.2514, allocations: 196.1 kB / 0.9408 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.2518, allocations: 189 kB / 0.941 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2518, allocations: 4 kB / 0.941 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005648/0.2524, allocations: 251 kB / 0.9413 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.2524, allocations: 9.719 kB / 0.9413 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2524, allocations: 0 / 0.9413 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.2524, allocations: 8.094 kB / 0.9413 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.2526, allocations: 47.86 kB / 0.9413 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2527, allocations: 0 / 0.9413 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.2529, allocations: 27.88 kB / 0.9413 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.2529, allocations: 4 kB / 0.9413 GB, free: 13.36 MB / 0.9011 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.0001956/0.2531, allocations: 153.8 kB / 0.9415 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.2532, allocations: 35.8 kB / 0.9415 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/0.2537, allocations: 206 kB / 0.9417 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.2537, allocations: 15.97 kB / 0.9417 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2537, allocations: 0 / 0.9417 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2537, allocations: 0 / 0.9417 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.255, allocations: 0.605 MB / 0.9423 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.255, allocations: 8.219 kB / 0.9423 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.2552, allocations: 31.97 kB / 0.9424 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.2552, allocations: 4 kB / 0.9424 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.2552, allocations: 8 kB / 0.9424 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2552, allocations: 0 / 0.9424 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.2552, allocations: 7.938 kB / 0.9424 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.256, allocations: 425.2 kB / 0.9428 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.2561, allocations: 47.8 kB / 0.9428 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.2562, allocations: 4 kB / 0.9428 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.2563, allocations: 15.92 kB / 0.9429 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.2564, allocations: 15.92 kB / 0.9429 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2564, allocations: 8 kB / 0.9429 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002065/0.2566, allocations: 177.2 kB / 0.943 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2566, allocations: 0 / 0.943 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004546/0.2571, allocations: 87.83 kB / 0.9431 GB, free: 11.42 MB / 0.9011 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.0003527/0.2574, allocations: 159.1 kB / 0.9433 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.2579, allocations: 159.8 kB / 0.9434 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2579, allocations: 0 / 0.9434 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.2581, allocations: 83.86 kB / 0.9435 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.259, allocations: 124.8 kB / 0.9436 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2602, allocations: 0.5578 MB / 0.9442 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.2604, allocations: 170.8 kB / 0.9443 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.2606, allocations: 62.47 kB / 0.9444 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.2607, allocations: 24.44 kB / 0.9444 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of SimCode: time 5.91e-07/0.2607, allocations: 0 / 0.9444 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of Templates: time 0.01175/0.2725, allocations: 4.826 MB / 0.9491 GB, free: 5.348 MB / 0.9011 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] 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.424131636042148]