Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.0008612/0.0008612, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008549/0.0008549, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8749/0.8749, 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 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 1.765/1.765, allocations: 377.9 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] 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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.875e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.612/0.612, allocations: 147.6 MB / 1.126 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.6143, allocations: 1.491 MB / 1.128 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.6146, allocations: 18.56 kB / 1.128 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.615, allocations: 159.7 kB / 1.128 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.6166, allocations: 0.7169 MB / 1.129 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.6181, allocations: 0.6687 MB / 1.129 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.6189, allocations: 0.7169 MB / 1.13 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/0.6192, allocations: 191.7 kB / 1.13 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.6203, allocations: 0.5969 MB / 1.131 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.6206, allocations: 201.8 kB / 1.131 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.6206, allocations: 23.06 kB / 1.131 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.6219, allocations: 0.7261 MB / 1.132 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.622, allocations: 110.7 kB / 1.132 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.6221, allocations: 122.5 kB / 1.132 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.6234, allocations: 0.7422 MB / 1.133 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6234, allocations: 0.7969 kB / 1.133 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6234, allocations: 1.188 kB / 1.133 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.6234, allocations: 0 / 1.133 GB, free: 10.16 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009212/0.6243, allocations: 0.5935 MB / 1.133 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6244, allocations: 14.45 kB / 1.133 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007056/0.6251, allocations: 158.8 kB / 1.133 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.6255, allocations: 263.1 kB / 1.134 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.6255, allocations: 21.52 kB / 1.134 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.6256, allocations: 19.94 kB / 1.134 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.626, allocations: 282.5 kB / 1.134 GB, free: 9.305 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.626, allocations: 5.031 kB / 1.134 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.626, allocations: 6.672 kB / 1.134 GB, free: 9.297 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.626, allocations: 8.75 kB / 1.134 GB, free: 9.297 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.6263, allocations: 202.7 kB / 1.134 GB, free: 9.238 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.6272, allocations: 0.9341 MB / 1.135 GB, free: 8.52 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.6274, allocations: 134.5 kB / 1.135 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.6275, allocations: 93.03 kB / 1.135 GB, free: 8.43 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.6278, allocations: 78.34 kB / 1.135 GB, free: 8.418 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.6278, allocations: 33.53 kB / 1.135 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=17): time 1.984e-06/0.6278, allocations: 0 / 1.135 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17): time 0.0005374/0.6284, allocations: 293.9 kB / 1.136 GB, free: 8.27 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.6284, allocations: 54.19 kB / 1.136 GB, free: 8.207 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.6286, allocations: 265.1 kB / 1.136 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.6286, allocations: 27.17 kB / 1.136 GB, free: 8.023 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.6287, allocations: 188.9 kB / 1.136 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.6287, allocations: 60.11 kB / 1.136 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.6288, allocations: 43.39 kB / 1.136 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.6288, allocations: 342.2 kB / 1.137 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.6289, allocations: 64.41 kB / 1.137 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.6291, allocations: 214.6 kB / 1.137 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.6293, allocations: 188.4 kB / 1.137 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6293, allocations: 0 / 1.137 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002836/0.6296, allocations: 255.9 kB / 1.137 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6296, allocations: 5.812 kB / 1.137 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6296, allocations: 6.781 kB / 1.137 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.6296, allocations: 5.781 kB / 1.137 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.6297, allocations: 45.73 kB / 1.137 GB, free: 7.051 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.6297, allocations: 9.031 kB / 1.137 GB, free: 7.047 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.6298, allocations: 22.47 kB / 1.137 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.6299, allocations: 13.3 kB / 1.137 GB, free: 7.031 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 (24): * Single equations (assignments): 24 * 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.117e-05/0.63, allocations: 149.9 kB / 1.138 GB, free: 6.898 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.63, allocations: 27.19 kB / 1.138 GB, free: 6.883 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.6303, allocations: 232.2 kB / 1.138 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6303, allocations: 1.094 kB / 1.138 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6303, allocations: 0.9688 kB / 1.138 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6303, allocations: 1.078 kB / 1.138 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.6309, allocations: 0.6282 MB / 1.138 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6309, allocations: 1.344 kB / 1.138 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.631, allocations: 36.47 kB / 1.139 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.631, allocations: 3.359 kB / 1.139 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.631, allocations: 7.5 kB / 1.139 GB, free: 6.344 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6311, allocations: 3.234 kB / 1.139 GB, free: 6.344 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6311, allocations: 2.188 kB / 1.139 GB, free: 6.344 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.6315, allocations: 447.6 kB / 1.139 GB, free: 6.059 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.6315, allocations: 43.66 kB / 1.139 GB, free: 6.035 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.6315, allocations: 7.641 kB / 1.139 GB, free: 6.031 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.6316, allocations: 7.953 kB / 1.139 GB, free: 6.031 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.6317, allocations: 25.33 kB / 1.139 GB, free: 6.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.6317, allocations: 5.453 kB / 1.139 GB, free: 6.02 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001143/0.6318, allocations: 184.4 kB / 1.139 GB, free: 5.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6318, allocations: 0 / 1.139 GB, free: 5.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003283/0.6321, allocations: 95.25 kB / 1.139 GB, free: 5.887 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 (17): * Single equations (assignments): 17 * 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.0002314/0.6324, allocations: 149.9 kB / 1.139 GB, free: 5.781 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.6327, allocations: 187.5 kB / 1.14 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6327, allocations: 0 / 1.14 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.6328, allocations: 95.36 kB / 1.14 GB, free: 5.695 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.6332, allocations: 121.8 kB / 1.14 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.634, allocations: 0.6163 MB / 1.14 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.6341, allocations: 177.8 kB / 1.141 GB, free: 5.152 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.6342, allocations: 26.44 kB / 1.141 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of SimCode: time 9.01e-07/0.6342, allocations: 0 / 1.141 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of Templates: time 0.009142/0.6433, allocations: 4.51 MB / 1.145 GB, free: 4.691 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.131567102856934]