Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00125/0.00125, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001435/0.001435, allocations: 214.1 kB / 23.03 MB, free: 4.926 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.121/3.121, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) [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.001923/0.001923, allocations: 70.67 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3395, allocations: 179 MB / 1.345 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1935/0.533, allocations: 147.6 MB / 1.489 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.5362, allocations: 1.483 MB / 1.491 GB, free: 10.26 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005256/0.5367, allocations: 19.81 kB / 1.491 GB, free: 10.24 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.5373, allocations: 158.8 kB / 1.491 GB, free: 10.09 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.5396, allocations: 0.7079 MB / 1.492 GB, free: 9.375 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.5414, allocations: 0.6275 MB / 1.492 GB, free: 8.75 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.5427, allocations: 0.7254 MB / 1.493 GB, free: 8.023 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.5432, allocations: 201 kB / 1.493 GB, free: 7.82 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.5447, allocations: 0.5177 MB / 1.494 GB, free: 7.301 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.5452, allocations: 239 kB / 1.494 GB, free: 7.066 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/0.5453, allocations: 20 kB / 1.494 GB, free: 7.047 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.5469, allocations: 0.7168 MB / 1.495 GB, free: 6.328 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.5471, allocations: 115.7 kB / 1.495 GB, free: 6.215 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.5474, allocations: 143.3 kB / 1.495 GB, free: 6.074 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.5489, allocations: 0.7047 MB / 1.496 GB, free: 5.367 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.5489, allocations: 11.94 kB / 1.496 GB, free: 5.355 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5489, allocations: 0 / 1.496 GB, free: 5.355 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.5489, allocations: 0 / 1.496 GB, free: 5.355 MB / 1.186 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.001209/0.5502, allocations: 0.5978 MB / 1.496 GB, free: 4.723 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5502, allocations: 8.031 kB / 1.496 GB, free: 4.715 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.048e-05/0.5502, allocations: 8.5 kB / 1.496 GB, free: 4.707 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.5503, allocations: 62.53 kB / 1.496 GB, free: 4.637 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.5516, allocations: 163.6 kB / 1.496 GB, free: 4.477 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.5522, allocations: 252.6 kB / 1.497 GB, free: 4.203 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.5522, allocations: 24.44 kB / 1.497 GB, free: 4.18 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.5523, allocations: 31.89 kB / 1.497 GB, free: 4.148 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.5528, allocations: 281.1 kB / 1.497 GB, free: 3.852 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5528, allocations: 0 / 1.497 GB, free: 3.852 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.5529, allocations: 8 kB / 1.497 GB, free: 3.844 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.5529, allocations: 8 kB / 1.497 GB, free: 3.836 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.5533, allocations: 200.9 kB / 1.497 GB, free: 3.641 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.5551, allocations: 0.9947 MB / 1.498 GB, free: 2.586 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.5554, allocations: 134.5 kB / 1.498 GB, free: 2.445 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.5556, allocations: 88.75 kB / 1.498 GB, free: 2.355 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/0.5562, allocations: 79.91 kB / 1.498 GB, free: 2.277 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.5562, allocations: 42.5 kB / 1.499 GB, free: 2.227 MB / 1.186 GB Notification: Performance of pre-optimization done (n=17): time 1.694e-06/0.5562, allocations: 0 / 1.499 GB, free: 2.227 MB / 1.186 GB Notification: Performance of matching and sorting (n=17): time 0.0009651/0.5572, allocations: 289.6 kB / 1.499 GB, free: 1.938 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.5572, allocations: 55.41 kB / 1.499 GB, free: 1.871 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.5577, allocations: 328.5 kB / 1.499 GB, free: 1.547 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.5577, allocations: 25.7 kB / 1.499 GB, free: 1.516 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.558, allocations: 184.3 kB / 1.499 GB, free: 1.332 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.558, allocations: 67.42 kB / 1.499 GB, free: 1.266 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.5582, allocations: 45.7 kB / 1.499 GB, free: 1.215 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002313/0.5584, allocations: 346.7 kB / 1.5 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.5586, allocations: 67.95 kB / 1.5 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.5589, allocations: 215.2 kB / 1.5 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.5593, allocations: 193 kB / 1.5 GB, free: 356 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.5593, allocations: 0 / 1.5 GB, free: 356 kB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005345/0.5598, allocations: 251.8 kB / 1.5 GB, free: 100 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5599, allocations: 5.719 kB / 1.501 GB, free: 96 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5599, allocations: 12.09 kB / 1.501 GB, free: 84 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.5599, allocations: 0 / 1.501 GB, free: 84 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.5601, allocations: 51.91 kB / 1.501 GB, free: 32 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5601, allocations: 4 kB / 1.501 GB, free: 28 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.5604, allocations: 31.92 kB / 1.501 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.5604, allocations: 8 kB / 1.501 GB, free: 15.98 MB / 1.201 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 0.0001782/0.5606, allocations: 161.6 kB / 1.501 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.5606, allocations: 39.75 kB / 1.501 GB, free: 15.78 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.5612, allocations: 220.7 kB / 1.501 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5612, allocations: 4 kB / 1.501 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5612, allocations: 0 / 1.501 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5612, allocations: 0 / 1.501 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.5624, allocations: 0.6554 MB / 1.502 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5624, allocations: 4 kB / 1.502 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.5626, allocations: 39.91 kB / 1.502 GB, free: 14.79 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5626, allocations: 0 / 1.502 GB, free: 14.79 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.5627, allocations: 11.94 kB / 1.502 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.5627, allocations: 4 kB / 1.502 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5627, allocations: 3.938 kB / 1.502 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.5635, allocations: 450.4 kB / 1.502 GB, free: 14.29 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.5636, allocations: 47.81 kB / 1.502 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.5637, allocations: 11.94 kB / 1.502 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.5638, allocations: 4 kB / 1.502 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.5639, allocations: 23.91 kB / 1.502 GB, free: 14.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.5639, allocations: 12 kB / 1.502 GB, free: 14.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002839/0.5642, allocations: 231 kB / 1.502 GB, free: 13.97 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5642, allocations: 0 / 1.502 GB, free: 13.97 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004558/0.5647, allocations: 87.83 kB / 1.503 GB, free: 13.88 MB / 1.201 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.001353/0.566, allocations: 1.032 MB / 1.504 GB, free: 12.8 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.5665, allocations: 183.6 kB / 1.504 GB, free: 12.62 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5665, allocations: 4.188 kB / 1.504 GB, free: 12.62 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.5667, allocations: 83.89 kB / 1.504 GB, free: 12.54 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.5677, allocations: 157.8 kB / 1.504 GB, free: 12.39 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/0.5724, allocations: 3.004 MB / 1.507 GB, free: 9.234 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.5726, allocations: 175.8 kB / 1.507 GB, free: 9.043 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000264/0.5728, allocations: 70.92 kB / 1.507 GB, free: 8.973 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.573, allocations: 87.41 kB / 1.507 GB, free: 8.887 MB / 1.201 GB Notification: Performance of SimCode: time 1.282e-06/0.573, allocations: 0 / 1.507 GB, free: 8.887 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/0.6116, allocations: 9.837 MB / 1.517 GB, free: 15.35 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12, allocations: 6.469 kB / 1.517 GB, free: 15.35 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.585299139958806]