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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 108.3 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 196.5 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.162/3.162, allocations: 489 MB / 0.7678 GB, free: 29.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 1.101 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8114, allocations: 163.8 MB / 1.261 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2129/1.024, allocations: 167.4 MB / 1.425 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003243/1.028, allocations: 1.56 MB / 1.426 GB, free: 13.48 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/1.028, allocations: 19.88 kB / 1.426 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/1.029, allocations: 150.8 kB / 1.426 GB, free: 13.31 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/1.031, allocations: 0.7039 MB / 1.427 GB, free: 12.61 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/1.032, allocations: 0.5993 MB / 1.428 GB, free: 12.01 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000999/1.033, allocations: 0.7059 MB / 1.428 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/1.034, allocations: 240.6 kB / 1.428 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/1.035, allocations: 0.4981 MB / 1.429 GB, free: 10.57 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/1.035, allocations: 215.1 kB / 1.429 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/1.035, allocations: 24 kB / 1.429 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/1.037, allocations: 0.8612 MB / 1.43 GB, free: 9.469 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/1.037, allocations: 107.7 kB / 1.43 GB, free: 9.363 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/1.037, allocations: 171.1 kB / 1.43 GB, free: 9.195 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/1.039, allocations: 0.7387 MB / 1.431 GB, free: 8.457 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.039, allocations: 0 / 1.431 GB, free: 8.457 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.593e-06/1.039, allocations: 4 kB / 1.431 GB, free: 8.453 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.039, allocations: 0 / 1.431 GB, free: 8.453 MB / 1.139 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.001034/1.04, allocations: 0.6693 MB / 1.432 GB, free: 7.734 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.04, allocations: 12.03 kB / 1.432 GB, free: 7.723 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/1.04, allocations: 58.53 kB / 1.432 GB, free: 7.656 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/1.041, allocations: 159.6 kB / 1.432 GB, free: 7.5 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/1.041, allocations: 330.9 kB / 1.432 GB, free: 7.137 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/1.041, allocations: 16.5 kB / 1.432 GB, free: 7.121 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/1.042, allocations: 27.95 kB / 1.432 GB, free: 7.094 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/1.042, allocations: 281.8 kB / 1.432 GB, free: 6.797 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.042, allocations: 4 kB / 1.432 GB, free: 6.793 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/1.042, allocations: 11.98 kB / 1.432 GB, free: 6.781 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/1.042, allocations: 8 kB / 1.433 GB, free: 6.773 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/1.043, allocations: 200.9 kB / 1.433 GB, free: 6.578 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/1.044, allocations: 1.231 MB / 1.434 GB, free: 5.242 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/1.044, allocations: 142.5 kB / 1.434 GB, free: 5.094 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/1.045, allocations: 92.81 kB / 1.434 GB, free: 5 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/1.045, allocations: 315.5 kB / 1.434 GB, free: 4.637 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/1.045, allocations: 34.56 kB / 1.434 GB, free: 4.594 MB / 1.139 GB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/1.045, allocations: 0 / 1.434 GB, free: 4.594 MB / 1.139 GB Notification: Performance of matching and sorting (n=17): time 0.0008192/1.046, allocations: 298.9 kB / 1.435 GB, free: 4.297 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/1.046, allocations: 55.41 kB / 1.435 GB, free: 4.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/1.047, allocations: 320.5 kB / 1.435 GB, free: 3.906 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/1.047, allocations: 37.69 kB / 1.435 GB, free: 3.863 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/1.047, allocations: 180.4 kB / 1.435 GB, free: 3.684 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/1.047, allocations: 67.42 kB / 1.435 GB, free: 3.617 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/1.047, allocations: 45.7 kB / 1.435 GB, free: 3.566 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001878/1.047, allocations: 338.8 kB / 1.436 GB, free: 3.227 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/1.047, allocations: 67.95 kB / 1.436 GB, free: 3.16 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/1.048, allocations: 125.1 kB / 1.436 GB, free: 3.02 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/1.048, allocations: 206.4 kB / 1.436 GB, free: 2.801 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.048, allocations: 0 / 1.436 GB, free: 2.801 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005106/1.049, allocations: 255.6 kB / 1.436 GB, free: 2.547 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.049, allocations: 4 kB / 1.436 GB, free: 2.543 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.049, allocations: 8.094 kB / 1.436 GB, free: 2.535 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.049, allocations: 3.984 kB / 1.436 GB, free: 2.531 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/1.049, allocations: 43.92 kB / 1.436 GB, free: 2.488 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.049, allocations: 4 kB / 1.436 GB, free: 2.484 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/1.049, allocations: 31.77 kB / 1.436 GB, free: 2.453 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/1.049, allocations: 15.94 kB / 1.436 GB, free: 2.438 MB / 1.139 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.0001794/1.049, allocations: 157.7 kB / 1.437 GB, free: 2.273 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/1.049, allocations: 31.77 kB / 1.437 GB, free: 2.242 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/1.05, allocations: 236.7 kB / 1.437 GB, free: 2.004 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.05, allocations: 4 kB / 1.437 GB, free: 2 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.05, allocations: 0 / 1.437 GB, free: 2 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.05, allocations: 0 / 1.437 GB, free: 2 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/1.051, allocations: 0.7068 MB / 1.438 GB, free: 1.215 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.051, allocations: 0 / 1.438 GB, free: 1.215 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/1.051, allocations: 39.91 kB / 1.438 GB, free: 1.176 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.051, allocations: 4 kB / 1.438 GB, free: 1.172 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/1.051, allocations: 12.16 kB / 1.438 GB, free: 1.16 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.051, allocations: 4 kB / 1.438 GB, free: 1.156 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.051, allocations: 4 kB / 1.438 GB, free: 1.152 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/1.052, allocations: 451.5 kB / 1.438 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.052, allocations: 124.8 kB / 1.438 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/1.052, allocations: 11.94 kB / 1.438 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.052, allocations: 11.98 kB / 1.438 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/1.053, allocations: 16.05 kB / 1.438 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/1.053, allocations: 8 kB / 1.438 GB, free: 500 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002566/1.053, allocations: 239 kB / 1.438 GB, free: 260 kB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.053, allocations: 0 / 1.438 GB, free: 260 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004227/1.053, allocations: 79.89 kB / 1.439 GB, free: 180 kB / 1.139 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.001441/1.055, allocations: 1.038 MB / 1.44 GB, free: 15.09 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004767/1.055, allocations: 183.9 kB / 1.44 GB, free: 14.91 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.055, allocations: 4.188 kB / 1.44 GB, free: 14.91 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/1.055, allocations: 91.83 kB / 1.44 GB, free: 14.82 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/1.056, allocations: 170.7 kB / 1.44 GB, free: 14.66 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/1.06, allocations: 3.017 MB / 1.443 GB, free: 11.51 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/1.061, allocations: 0.7795 MB / 1.444 GB, free: 10.7 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002542/1.061, allocations: 70.92 kB / 1.444 GB, free: 10.64 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.061, allocations: 95.41 kB / 1.444 GB, free: 10.54 MB / 1.154 GB Notification: Performance of SimCode: time 3.41e-07/1.061, allocations: 3.938 kB / 1.444 GB, free: 10.54 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/1.097, allocations: 9.015 MB / 1.453 GB, free: 1.695 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.656/9.753, allocations: 21.27 kB / 1.453 GB, free: 1.68 MB / 1.154 GB " [Timeout remaining time 290] (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_2/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: 15.77009970205836]