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.0008269/0.0008269, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.000846/0.000846, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9097/0.9097, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.664/1.664, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] 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.794e-06/1.794e-06, allocations: 0 / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.639e-05/3.818e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.606/0.606, allocations: 147.6 MB / 1.096 GB, free: 39.26 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.608, allocations: 1.485 MB / 1.097 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.6083, allocations: 16.95 kB / 1.097 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.6087, allocations: 153 kB / 1.097 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.61, allocations: 0.7209 MB / 1.098 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.6112, allocations: 0.6646 MB / 1.099 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.6117, allocations: 0.7068 MB / 1.1 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.612, allocations: 184.6 kB / 1.1 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004392/0.6124, allocations: 439.1 kB / 1.1 GB, free: 38 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.6126, allocations: 203.8 kB / 1.1 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.6126, allocations: 21.03 kB / 1.1 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009232/0.6135, allocations: 0.728 MB / 1.101 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.6136, allocations: 116.1 kB / 1.101 GB, free: 37.72 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.35e-05/0.6137, allocations: 114.5 kB / 1.101 GB, free: 37.68 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009186/0.6146, allocations: 0.7335 MB / 1.102 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6146, allocations: 0 / 1.102 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6146, allocations: 0.5 kB / 1.102 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.6146, allocations: 0.5625 kB / 1.102 GB, free: 37.49 MB / 0.9948 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.0007522/0.6154, allocations: 0.5782 MB / 1.103 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6154, allocations: 10.12 kB / 1.103 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007049/0.6161, allocations: 162.1 kB / 1.103 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.6166, allocations: 262.4 kB / 1.103 GB, free: 36.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.6166, allocations: 13.81 kB / 1.103 GB, free: 36.81 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.6166, allocations: 22.91 kB / 1.103 GB, free: 36.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.6171, allocations: 274.3 kB / 1.103 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6171, allocations: 0.5625 kB / 1.103 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.6171, allocations: 10.25 kB / 1.103 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.6171, allocations: 9.828 kB / 1.103 GB, free: 36.65 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.6174, allocations: 202.6 kB / 1.103 GB, free: 36.59 MB / 0.9948 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.0008598/0.6183, allocations: 0.9093 MB / 1.104 GB, free: 35.91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.6185, allocations: 132 kB / 1.104 GB, free: 35.85 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.6186, allocations: 87.58 kB / 1.105 GB, free: 35.82 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.6188, allocations: 70.09 kB / 1.105 GB, free: 35.81 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.6189, allocations: 36.67 kB / 1.105 GB, free: 35.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.6189, allocations: 1.406 kB / 1.105 GB, free: 35.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0004925/0.6194, allocations: 279.6 kB / 1.105 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.6194, allocations: 58.33 kB / 1.105 GB, free: 35.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.6195, allocations: 245.3 kB / 1.105 GB, free: 35.45 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.6196, allocations: 29.8 kB / 1.105 GB, free: 35.42 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.6196, allocations: 188.2 kB / 1.105 GB, free: 35.26 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.6197, allocations: 57.8 kB / 1.105 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.6197, allocations: 41.69 kB / 1.106 GB, free: 35.19 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.151e-05/0.6198, allocations: 344.4 kB / 1.106 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.6199, allocations: 63.64 kB / 1.106 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.62, allocations: 198.2 kB / 1.106 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.6202, allocations: 186.6 kB / 1.106 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6202, allocations: 1.031 kB / 1.106 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002907/0.6205, allocations: 246.9 kB / 1.107 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6205, allocations: 5.438 kB / 1.107 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.6205, allocations: 1.219 kB / 1.107 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6206, allocations: 2.25 kB / 1.107 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.6207, allocations: 48.3 kB / 1.107 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6207, allocations: 1.469 kB / 1.107 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6208, allocations: 33.25 kB / 1.107 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.6208, allocations: 7.812 kB / 1.107 GB, free: 34.45 MB / 0.9948 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 9.445e-05/0.6209, allocations: 148.9 kB / 1.107 GB, free: 34.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.6209, allocations: 30.75 kB / 1.107 GB, free: 34.29 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.6212, allocations: 208.6 kB / 1.107 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6212, allocations: 2.719 kB / 1.107 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6212, allocations: 0.7969 kB / 1.107 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6212, allocations: 0.7969 kB / 1.107 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.6219, allocations: 0.6099 MB / 1.108 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6219, allocations: 2.219 kB / 1.108 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.622, allocations: 29.81 kB / 1.108 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.622, allocations: 3.219 kB / 1.108 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.622, allocations: 8.109 kB / 1.108 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.622, allocations: 6 kB / 1.108 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.622, allocations: 3.531 kB / 1.108 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.6224, allocations: 429.1 kB / 1.108 GB, free: 33.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.6224, allocations: 39.23 kB / 1.108 GB, free: 33.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.6225, allocations: 7.625 kB / 1.108 GB, free: 33.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.6225, allocations: 12.53 kB / 1.108 GB, free: 33.48 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.6226, allocations: 23.61 kB / 1.108 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.6226, allocations: 6.062 kB / 1.108 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.72e-05/0.6227, allocations: 174.2 kB / 1.108 GB, free: 33.36 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6227, allocations: 0 / 1.108 GB, free: 33.36 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000313/0.623, allocations: 93.23 kB / 1.108 GB, free: 33.34 MB / 0.9948 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.0002356/0.6232, allocations: 155 kB / 1.109 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.6235, allocations: 166.7 kB / 1.109 GB, free: 33.19 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6235, allocations: 1 kB / 1.109 GB, free: 33.19 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.6236, allocations: 85.95 kB / 1.109 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.6241, allocations: 118.2 kB / 1.109 GB, free: 33.14 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007627/0.6248, allocations: 0.5834 MB / 1.109 GB, free: 32.73 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.625, allocations: 173.5 kB / 1.11 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.625, allocations: 24.72 kB / 1.11 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of SimCode: time 7.51e-07/0.625, allocations: 0 / 1.11 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of Templates: time 0.006354/0.6314, allocations: 4.377 MB / 1.114 GB, free: 32.19 MB / 0.9948 GB " [Timeout remaining time 299] 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: 7.775592139922082]