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.00165/0.00165, allocations: 110.9 kB / 16.45 MB, free: 6.488 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.001582/0.001582, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.092/3.092, allocations: 497.2 MB / 0.7811 GB, free: 33.5 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.001917/0.001917, allocations: 66.44 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3711, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2134/0.5846, allocations: 168 MB / 1.468 GB, free: 8.949 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003589/0.5881, allocations: 1.562 MB / 1.47 GB, free: 7.383 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005857/0.5887, allocations: 11.94 kB / 1.47 GB, free: 7.371 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006714/0.5894, allocations: 154.8 kB / 1.47 GB, free: 7.219 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.5916, allocations: 0.739 MB / 1.47 GB, free: 6.477 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.5934, allocations: 0.6072 MB / 1.471 GB, free: 5.871 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.5947, allocations: 0.7176 MB / 1.472 GB, free: 5.152 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.5952, allocations: 200.9 kB / 1.472 GB, free: 4.953 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.5965, allocations: 0.5021 MB / 1.472 GB, free: 4.449 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.597, allocations: 235 kB / 1.473 GB, free: 4.219 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.5971, allocations: 24 kB / 1.473 GB, free: 4.195 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.5991, allocations: 0.9196 MB / 1.474 GB, free: 3.273 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.5993, allocations: 107.6 kB / 1.474 GB, free: 3.168 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.5996, allocations: 175.1 kB / 1.474 GB, free: 2.996 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.6014, allocations: 0.732 MB / 1.475 GB, free: 2.262 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6014, allocations: 0 / 1.475 GB, free: 2.262 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6014, allocations: 0 / 1.475 GB, free: 2.262 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.6014, allocations: 3.984 kB / 1.475 GB, free: 2.258 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.00131/0.6027, allocations: 0.6733 MB / 1.475 GB, free: 1.535 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.6028, allocations: 8.922 kB / 1.475 GB, free: 1.527 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.588e-05/0.6028, allocations: 62.53 kB / 1.475 GB, free: 1.457 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.6041, allocations: 155.6 kB / 1.475 GB, free: 1.305 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.6047, allocations: 346.7 kB / 1.476 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.6048, allocations: 24.44 kB / 1.476 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.6048, allocations: 24 kB / 1.476 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.6053, allocations: 285.8 kB / 1.476 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.6054, allocations: 0 / 1.476 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.6054, allocations: 8 kB / 1.476 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.6054, allocations: 4 kB / 1.476 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.6058, allocations: 200.9 kB / 1.476 GB, free: 380 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.6075, allocations: 1.227 MB / 1.477 GB, free: 15.04 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.6078, allocations: 146.5 kB / 1.478 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.608, allocations: 90.36 kB / 1.478 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006282/0.6086, allocations: 303.2 kB / 1.478 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.6087, allocations: 42.47 kB / 1.478 GB, free: 14.39 MB / 1.186 GB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.6087, allocations: 0 / 1.478 GB, free: 14.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=17): time 0.0008161/0.6095, allocations: 287.2 kB / 1.478 GB, free: 14.11 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.6095, allocations: 59.34 kB / 1.478 GB, free: 14.04 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.6099, allocations: 320.5 kB / 1.479 GB, free: 13.72 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.6099, allocations: 29.7 kB / 1.479 GB, free: 13.68 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.6101, allocations: 188.3 kB / 1.479 GB, free: 13.49 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.6102, allocations: 59.48 kB / 1.479 GB, free: 13.43 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.6102, allocations: 49.66 kB / 1.479 GB, free: 13.38 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6104, allocations: 342.7 kB / 1.479 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.6106, allocations: 71.95 kB / 1.479 GB, free: 12.96 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.6108, allocations: 126.5 kB / 1.479 GB, free: 12.82 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.6112, allocations: 201 kB / 1.48 GB, free: 12.61 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6112, allocations: 4 kB / 1.48 GB, free: 12.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004877/0.6117, allocations: 251.4 kB / 1.48 GB, free: 12.36 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6117, allocations: 8 kB / 1.48 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6117, allocations: 0 / 1.48 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.6117, allocations: 4 kB / 1.48 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.612, allocations: 43.97 kB / 1.48 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.612, allocations: 8.094 kB / 1.48 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.6122, allocations: 35.77 kB / 1.48 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.6122, allocations: 8 kB / 1.48 GB, free: 12.25 MB / 1.186 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.0001512/0.6123, allocations: 145.8 kB / 1.48 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.6124, allocations: 31.81 kB / 1.48 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.6129, allocations: 240.5 kB / 1.48 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6129, allocations: 4 kB / 1.48 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6129, allocations: 0 / 1.48 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6129, allocations: 0 / 1.48 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.6142, allocations: 0.7068 MB / 1.481 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6142, allocations: 4 kB / 1.481 GB, free: 11.03 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.6144, allocations: 39.97 kB / 1.481 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6144, allocations: 4 kB / 1.481 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.6144, allocations: 7.938 kB / 1.481 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.6144, allocations: 3.938 kB / 1.481 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6144, allocations: 4 kB / 1.481 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.6151, allocations: 455.2 kB / 1.482 GB, free: 10.49 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.6153, allocations: 132.8 kB / 1.482 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.6153, allocations: 7.938 kB / 1.482 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.6155, allocations: 8 kB / 1.482 GB, free: 10.33 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.6156, allocations: 19.97 kB / 1.482 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.6156, allocations: 4 kB / 1.482 GB, free: 10.3 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002583/0.6159, allocations: 235.1 kB / 1.482 GB, free: 10.07 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6159, allocations: 0 / 1.482 GB, free: 10.07 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004008/0.6163, allocations: 83.88 kB / 1.482 GB, free: 9.992 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.001376/0.6176, allocations: 1.05 MB / 1.483 GB, free: 8.898 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.6181, allocations: 171.8 kB / 1.483 GB, free: 8.73 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6181, allocations: 0 / 1.483 GB, free: 8.73 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.6183, allocations: 92.38 kB / 1.483 GB, free: 8.641 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.6192, allocations: 161.5 kB / 1.483 GB, free: 8.488 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.6236, allocations: 3.031 MB / 1.486 GB, free: 5.312 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.6241, allocations: 0.7834 MB / 1.487 GB, free: 4.5 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.6243, allocations: 62.92 kB / 1.487 GB, free: 4.441 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.6245, allocations: 95.41 kB / 1.487 GB, free: 4.348 MB / 1.186 GB Notification: Performance of SimCode: time 1.263e-06/0.6245, allocations: 0 / 1.487 GB, free: 4.348 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.6634, allocations: 9.085 MB / 1.496 GB, free: 11.45 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/9.192, allocations: 3.984 kB / 1.496 GB, free: 11.45 MB / 1.201 GB " [Timeout remaining time 291] (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.762432251125574]