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.001328/0.001328, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001473/0.001473, allocations: 214.1 kB / 22.24 MB, free: 5.262 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.326/1.326, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 179] 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 2.88/2.88, allocations: 0.49 GB / 0.7951 GB, free: 35.42 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.001897/0.001897, allocations: 67.14 kB / 1.154 GB, free: 25.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2945, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1707/0.4651, allocations: 147.7 MB / 1.47 GB, free: 13.21 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.4677, allocations: 1.485 MB / 1.472 GB, free: 11.72 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.4679, allocations: 19.81 kB / 1.472 GB, free: 11.7 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.4684, allocations: 150.9 kB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.4699, allocations: 0.7118 MB / 1.472 GB, free: 10.84 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.4712, allocations: 0.6249 MB / 1.473 GB, free: 10.21 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.472, allocations: 0.7216 MB / 1.474 GB, free: 9.492 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.4724, allocations: 194.8 kB / 1.474 GB, free: 9.297 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009629/0.4733, allocations: 0.5177 MB / 1.474 GB, free: 8.777 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.4737, allocations: 242.9 kB / 1.475 GB, free: 8.539 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.4737, allocations: 24 kB / 1.475 GB, free: 8.516 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.4748, allocations: 0.7129 MB / 1.475 GB, free: 7.801 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.475, allocations: 111.6 kB / 1.475 GB, free: 7.691 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.4751, allocations: 147.4 kB / 1.476 GB, free: 7.547 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009348/0.4761, allocations: 0.7047 MB / 1.476 GB, free: 6.84 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4761, allocations: 3.938 kB / 1.476 GB, free: 6.836 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4761, allocations: 4 kB / 1.476 GB, free: 6.832 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4761, allocations: 0 / 1.476 GB, free: 6.832 MB / 1.17 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.0009228/0.477, allocations: 0.5979 MB / 1.477 GB, free: 6.199 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.477, allocations: 12.03 kB / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.347e-05/0.4771, allocations: 54.55 kB / 1.477 GB, free: 6.125 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.4783, allocations: 167.6 kB / 1.477 GB, free: 5.961 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.4788, allocations: 264.5 kB / 1.477 GB, free: 5.68 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4788, allocations: 20.44 kB / 1.477 GB, free: 5.66 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.4788, allocations: 24 kB / 1.477 GB, free: 5.637 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.4793, allocations: 289 kB / 1.478 GB, free: 5.332 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4793, allocations: 0 / 1.478 GB, free: 5.332 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.4794, allocations: 8 kB / 1.478 GB, free: 5.324 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.4794, allocations: 8 kB / 1.478 GB, free: 5.316 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.4798, allocations: 200.9 kB / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.4811, allocations: 1.006 MB / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4814, allocations: 136.2 kB / 1.479 GB, free: 3.914 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.4816, allocations: 88.8 kB / 1.479 GB, free: 3.824 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/0.4821, allocations: 71.92 kB / 1.479 GB, free: 3.754 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4821, allocations: 42.55 kB / 1.479 GB, free: 3.703 MB / 1.17 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.4821, allocations: 0 / 1.479 GB, free: 3.703 MB / 1.17 GB Notification: Performance of matching and sorting (n=17): time 0.0007691/0.4829, allocations: 293.5 kB / 1.479 GB, free: 3.41 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.4829, allocations: 55.41 kB / 1.48 GB, free: 3.344 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.4833, allocations: 328.5 kB / 1.48 GB, free: 3.012 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.4833, allocations: 29.7 kB / 1.48 GB, free: 2.977 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.4834, allocations: 180.3 kB / 1.48 GB, free: 2.797 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.4835, allocations: 63.44 kB / 1.48 GB, free: 2.734 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.4836, allocations: 45.7 kB / 1.48 GB, free: 2.684 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4837, allocations: 342.8 kB / 1.48 GB, free: 2.34 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4839, allocations: 67.95 kB / 1.481 GB, free: 2.273 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4841, allocations: 203.2 kB / 1.481 GB, free: 2.039 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.4845, allocations: 200.9 kB / 1.481 GB, free: 1.824 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4845, allocations: 0 / 1.481 GB, free: 1.824 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004807/0.485, allocations: 259.3 kB / 1.481 GB, free: 1.566 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.485, allocations: 5.875 kB / 1.481 GB, free: 1.562 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.485, allocations: 8.094 kB / 1.481 GB, free: 1.555 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.485, allocations: 0 / 1.481 GB, free: 1.555 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.4852, allocations: 43.97 kB / 1.481 GB, free: 1.512 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4852, allocations: 11.92 kB / 1.481 GB, free: 1.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.4854, allocations: 31.77 kB / 1.481 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.4855, allocations: 12 kB / 1.481 GB, free: 1.457 MB / 1.17 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.0001486/0.4856, allocations: 153.8 kB / 1.481 GB, free: 1.297 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.4857, allocations: 31.75 kB / 1.481 GB, free: 1.266 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.4862, allocations: 248.5 kB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4862, allocations: 4.141 kB / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4862, allocations: 0 / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4862, allocations: 3.984 kB / 1.482 GB, free: 1.008 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.4872, allocations: 0.6476 MB / 1.482 GB, free: 296 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4872, allocations: 4 kB / 1.482 GB, free: 292 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.4874, allocations: 31.98 kB / 1.482 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4874, allocations: 4 kB / 1.482 GB, free: 256 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.4874, allocations: 11.92 kB / 1.482 GB, free: 244 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.4874, allocations: 7.938 kB / 1.482 GB, free: 236 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4874, allocations: 0 / 1.482 GB, free: 236 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.4881, allocations: 454.5 kB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.4882, allocations: 47.77 kB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.4883, allocations: 7.938 kB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4885, allocations: 11.98 kB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.4885, allocations: 19.97 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4885, allocations: 4 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002221/0.4887, allocations: 231 kB / 1.483 GB, free: 15.44 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4887, allocations: 0 / 1.483 GB, free: 15.44 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003733/0.4891, allocations: 83.89 kB / 1.483 GB, free: 15.36 MB / 1.186 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.001115/0.4902, allocations: 1.036 MB / 1.484 GB, free: 14.27 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.4906, allocations: 171.8 kB / 1.484 GB, free: 14.1 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4907, allocations: 12.12 kB / 1.484 GB, free: 14.09 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.4908, allocations: 91.81 kB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00082/0.4917, allocations: 156.8 kB / 1.485 GB, free: 13.86 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.4954, allocations: 3.019 MB / 1.488 GB, free: 10.69 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.4955, allocations: 175.8 kB / 1.488 GB, free: 10.5 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.4957, allocations: 66.91 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.4959, allocations: 95.41 kB / 1.488 GB, free: 10.34 MB / 1.186 GB Notification: Performance of SimCode: time 6.11e-07/0.4959, allocations: 0 / 1.488 GB, free: 10.34 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/0.5363, allocations: 10.26 MB / 1.498 GB, free: 380 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.13, allocations: 12.08 kB / 1.498 GB, free: 372 kB / 1.186 GB " [Timeout remaining time 289] (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: 17.067606055003125]