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.001673/0.001673, allocations: 109.3 kB / 16.46 MB, free: 6.508 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.001977/0.001977, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 9.094 MB / 206.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 3.007/3.007, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",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.001982/0.001982, allocations: 64.34 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 176.1 MB / 1.321 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2051/0.5288, allocations: 170.9 MB / 1.488 GB, free: 7.723 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002832/0.5316, allocations: 1.562 MB / 1.489 GB, free: 6.156 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.5319, allocations: 19.81 kB / 1.489 GB, free: 6.137 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.5324, allocations: 150.9 kB / 1.489 GB, free: 5.988 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.5341, allocations: 0.7429 MB / 1.49 GB, free: 5.242 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.5356, allocations: 0.6034 MB / 1.491 GB, free: 4.641 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.000929/0.5366, allocations: 0.7215 MB / 1.491 GB, free: 3.918 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.537, allocations: 204.8 kB / 1.492 GB, free: 3.711 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.538, allocations: 0.506 MB / 1.492 GB, free: 3.203 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.5384, allocations: 242.9 kB / 1.492 GB, free: 2.965 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.5384, allocations: 24 kB / 1.492 GB, free: 2.941 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.5398, allocations: 0.9079 MB / 1.493 GB, free: 2.031 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.54, allocations: 123.6 kB / 1.493 GB, free: 1.91 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.5402, allocations: 167.2 kB / 1.494 GB, free: 1.746 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.5413, allocations: 0.7359 MB / 1.494 GB, free: 1.008 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5413, allocations: 0 / 1.494 GB, free: 1.008 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5413, allocations: 0 / 1.494 GB, free: 1.008 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.5413, allocations: 0 / 1.494 GB, free: 1.008 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.001121/0.5425, allocations: 0.677 MB / 1.495 GB, free: 288 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5425, allocations: 15.98 kB / 1.495 GB, free: 272 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/0.5426, allocations: 58.55 kB / 1.495 GB, free: 204 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.5437, allocations: 151.6 kB / 1.495 GB, free: 52 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.5443, allocations: 338.8 kB / 1.495 GB, free: 15.68 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.5443, allocations: 20.5 kB / 1.495 GB, free: 15.66 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.5443, allocations: 24 kB / 1.495 GB, free: 15.63 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.5448, allocations: 273.9 kB / 1.496 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5448, allocations: 4 kB / 1.496 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.5449, allocations: 8 kB / 1.496 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.5449, allocations: 12 kB / 1.496 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.5453, allocations: 208.8 kB / 1.496 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.5468, allocations: 1.227 MB / 1.497 GB, free: 13.79 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.5471, allocations: 134.5 kB / 1.497 GB, free: 13.65 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.5473, allocations: 96.8 kB / 1.497 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005924/0.5479, allocations: 299.2 kB / 1.498 GB, free: 13.2 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.548, allocations: 34.56 kB / 1.498 GB, free: 13.16 MB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.548, allocations: 0 / 1.498 GB, free: 13.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.000807/0.5488, allocations: 295.6 kB / 1.498 GB, free: 12.87 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5488, allocations: 51.41 kB / 1.498 GB, free: 12.8 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.5492, allocations: 324.5 kB / 1.498 GB, free: 12.48 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.5492, allocations: 33.7 kB / 1.498 GB, free: 12.44 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.5493, allocations: 184.3 kB / 1.499 GB, free: 12.26 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.5494, allocations: 67.47 kB / 1.499 GB, free: 12.19 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.5495, allocations: 45.66 kB / 1.499 GB, free: 12.14 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5496, allocations: 338.8 kB / 1.499 GB, free: 11.8 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.5498, allocations: 67.95 kB / 1.499 GB, free: 11.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.55, allocations: 134.8 kB / 1.499 GB, free: 11.59 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.5504, allocations: 199.9 kB / 1.499 GB, free: 11.38 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5504, allocations: 0 / 1.499 GB, free: 11.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005118/0.5509, allocations: 265.3 kB / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.551, allocations: 4 kB / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.551, allocations: 7.984 kB / 1.5 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.551, allocations: 0 / 1.5 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.5512, allocations: 43.92 kB / 1.5 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5512, allocations: 4 kB / 1.5 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.5514, allocations: 27.83 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.5514, allocations: 8.094 kB / 1.5 GB, free: 11.02 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.0001539/0.5516, allocations: 165.7 kB / 1.5 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.5516, allocations: 27.81 kB / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.5521, allocations: 228.7 kB / 1.5 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5521, allocations: 4 kB / 1.5 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5521, allocations: 0 / 1.5 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5522, allocations: 3.938 kB / 1.5 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.5533, allocations: 0.7071 MB / 1.501 GB, free: 9.789 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5533, allocations: 4.031 kB / 1.501 GB, free: 9.785 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.5534, allocations: 35.92 kB / 1.501 GB, free: 9.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5534, allocations: 0 / 1.501 GB, free: 9.75 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.5535, allocations: 11.94 kB / 1.501 GB, free: 9.738 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5535, allocations: 4 kB / 1.501 GB, free: 9.734 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5535, allocations: 4 kB / 1.501 GB, free: 9.73 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007283/0.5542, allocations: 454.8 kB / 1.501 GB, free: 9.25 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.5543, allocations: 124.9 kB / 1.501 GB, free: 9.109 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.5544, allocations: 15.94 kB / 1.501 GB, free: 9.094 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.5546, allocations: 11.98 kB / 1.501 GB, free: 9.082 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.5546, allocations: 15.92 kB / 1.501 GB, free: 9.066 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.5546, allocations: 8 kB / 1.501 GB, free: 9.059 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000254/0.5549, allocations: 227 kB / 1.502 GB, free: 8.836 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5549, allocations: 0 / 1.502 GB, free: 8.836 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003989/0.5553, allocations: 83.94 kB / 1.502 GB, free: 8.754 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.001278/0.5566, allocations: 1.044 MB / 1.503 GB, free: 7.66 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004949/0.5571, allocations: 175.8 kB / 1.503 GB, free: 7.488 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5571, allocations: 4 kB / 1.503 GB, free: 7.484 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.5573, allocations: 87.83 kB / 1.503 GB, free: 7.398 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.5582, allocations: 171.8 kB / 1.503 GB, free: 7.234 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.5623, allocations: 3.011 MB / 1.506 GB, free: 4.082 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.5628, allocations: 0.7756 MB / 1.507 GB, free: 3.281 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.563, allocations: 70.92 kB / 1.507 GB, free: 3.215 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.5632, allocations: 95.34 kB / 1.507 GB, free: 3.121 MB / 1.201 GB Notification: Performance of SimCode: time 8.52e-07/0.5632, allocations: 4 kB / 1.507 GB, free: 3.117 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.5993, allocations: 9.03 MB / 1.516 GB, free: 10.25 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.631, allocations: 6.688 kB / 1.516 GB, free: 10.25 MB / 1.217 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 14.918476746184751]