Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001616/0.001616, allocations: 109.1 kB / 16.46 MB, free: 6.035 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.001793/0.001793, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.847/2.847, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.88 kB / 1.104 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8742/0.8762, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.24/1.116, allocations: 168 MB / 1.433 GB, free: 12.57 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.004195/1.12, allocations: 1.565 MB / 1.434 GB, free: 11.01 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006187/1.121, allocations: 11.94 kB / 1.434 GB, free: 11 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007372/1.122, allocations: 154.8 kB / 1.434 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002954/1.125, allocations: 0.7429 MB / 1.435 GB, free: 10.1 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00253/1.127, allocations: 0.6029 MB / 1.436 GB, free: 9.496 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001492/1.129, allocations: 0.7215 MB / 1.436 GB, free: 8.77 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/1.129, allocations: 204.8 kB / 1.437 GB, free: 8.566 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/1.13, allocations: 350.7 kB / 1.437 GB, free: 8.223 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/1.131, allocations: 247 kB / 1.437 GB, free: 7.98 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/1.131, allocations: 24 kB / 1.437 GB, free: 7.957 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/1.133, allocations: 0.9234 MB / 1.438 GB, free: 7.031 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/1.134, allocations: 107.7 kB / 1.438 GB, free: 6.926 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002991/1.134, allocations: 175.1 kB / 1.438 GB, free: 6.754 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/1.136, allocations: 0.734 MB / 1.439 GB, free: 6.02 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.136, allocations: 0 / 1.439 GB, free: 6.02 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.743e-06/1.136, allocations: 0 / 1.439 GB, free: 6.02 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.136, allocations: 0 / 1.439 GB, free: 6.02 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.001445/1.137, allocations: 0.6848 MB / 1.44 GB, free: 5.285 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.137, allocations: 8.031 kB / 1.44 GB, free: 5.277 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.901e-05/1.137, allocations: 54.55 kB / 1.44 GB, free: 5.215 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/1.139, allocations: 159.6 kB / 1.44 GB, free: 5.059 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/1.14, allocations: 326.9 kB / 1.44 GB, free: 4.699 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/1.14, allocations: 20.5 kB / 1.44 GB, free: 4.68 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/1.14, allocations: 24 kB / 1.44 GB, free: 4.656 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/1.141, allocations: 285.8 kB / 1.441 GB, free: 4.359 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.141, allocations: 0 / 1.441 GB, free: 4.359 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/1.141, allocations: 12 kB / 1.441 GB, free: 4.348 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.141, allocations: 4 kB / 1.441 GB, free: 4.344 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006739/1.142, allocations: 200.9 kB / 1.441 GB, free: 4.148 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/1.144, allocations: 1.231 MB / 1.442 GB, free: 2.812 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/1.144, allocations: 150.4 kB / 1.442 GB, free: 2.656 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/1.145, allocations: 89.11 kB / 1.442 GB, free: 2.566 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009069/1.146, allocations: 307.2 kB / 1.443 GB, free: 2.211 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/1.146, allocations: 30.56 kB / 1.443 GB, free: 2.172 MB / 1.139 GB Notification: Performance of pre-optimization done (n=17): time 2.204e-06/1.146, allocations: 3.938 kB / 1.443 GB, free: 2.168 MB / 1.139 GB Notification: Performance of matching and sorting (n=17): time 0.00135/1.147, allocations: 285.4 kB / 1.443 GB, free: 1.883 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/1.147, allocations: 55.41 kB / 1.443 GB, free: 1.816 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/1.148, allocations: 332.5 kB / 1.443 GB, free: 1.484 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/1.148, allocations: 29.7 kB / 1.443 GB, free: 1.449 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/1.148, allocations: 184.3 kB / 1.443 GB, free: 1.266 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/1.148, allocations: 59.48 kB / 1.444 GB, free: 1.207 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/1.148, allocations: 45.7 kB / 1.444 GB, free: 1.156 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.148, allocations: 338.8 kB / 1.444 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/1.149, allocations: 71.94 kB / 1.444 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/1.149, allocations: 127.5 kB / 1.444 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/1.15, allocations: 206.7 kB / 1.444 GB, free: 396 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/1.15, allocations: 4 kB / 1.444 GB, free: 392 kB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008161/1.15, allocations: 253.3 kB / 1.445 GB, free: 132 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.15, allocations: 9.719 kB / 1.445 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.15, allocations: 0 / 1.445 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.15, allocations: 4 kB / 1.445 GB, free: 120 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/1.151, allocations: 44.02 kB / 1.445 GB, free: 76 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/1.151, allocations: 7.984 kB / 1.445 GB, free: 68 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/1.151, allocations: 31.78 kB / 1.445 GB, free: 36 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/1.151, allocations: 15.98 kB / 1.445 GB, free: 20 kB / 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.0002941/1.152, allocations: 149.7 kB / 1.445 GB, free: 15.86 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.152, allocations: 35.77 kB / 1.445 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/1.152, allocations: 232.7 kB / 1.445 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.152, allocations: 0 / 1.445 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.152, allocations: 4.078 kB / 1.445 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.152, allocations: 3.984 kB / 1.445 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.154, allocations: 0.7107 MB / 1.446 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.154, allocations: 0 / 1.446 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/1.155, allocations: 35.92 kB / 1.446 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/1.155, allocations: 4 kB / 1.446 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/1.155, allocations: 15.88 kB / 1.446 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.155, allocations: 0 / 1.446 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.155, allocations: 4.219 kB / 1.446 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/1.156, allocations: 454.8 kB / 1.446 GB, free: 14.26 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/1.156, allocations: 128.9 kB / 1.446 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/1.156, allocations: 11.94 kB / 1.446 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/1.156, allocations: 7.984 kB / 1.446 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/1.156, allocations: 19.92 kB / 1.446 GB, free: 14.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/1.156, allocations: 12.06 kB / 1.446 GB, free: 14.06 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003976/1.157, allocations: 235 kB / 1.447 GB, free: 13.83 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.157, allocations: 0 / 1.447 GB, free: 13.83 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007147/1.158, allocations: 79.89 kB / 1.447 GB, free: 13.75 MB / 1.154 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.00198/1.16, allocations: 1.055 MB / 1.448 GB, free: 12.66 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000714/1.16, allocations: 171.8 kB / 1.448 GB, free: 12.49 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.16, allocations: 0 / 1.448 GB, free: 12.49 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/1.161, allocations: 88.45 kB / 1.448 GB, free: 12.4 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/1.162, allocations: 164.8 kB / 1.448 GB, free: 12.25 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00636/1.168, allocations: 3.014 MB / 1.451 GB, free: 9.086 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/1.169, allocations: 0.7795 MB / 1.452 GB, free: 8.277 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003934/1.169, allocations: 66.92 kB / 1.452 GB, free: 8.211 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/1.17, allocations: 91.41 kB / 1.452 GB, free: 8.121 MB / 1.154 GB Notification: Performance of SimCode: time 8.11e-07/1.17, allocations: 0 / 1.452 GB, free: 8.121 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04873/1.218, allocations: 9.091 MB / 1.461 GB, free: 15.21 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.694/9.913, allocations: 17.3 kB / 1.461 GB, free: 15.2 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.014356402214617]