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.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.001355/0.001355, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.00155/0.00155, allocations: 219.8 kB / 23.05 MB, free: 5.074 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="cs",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.002029/0.002029, allocations: 66.39 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3373, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2118/0.5491, allocations: 171 MB / 1.451 GB, free: 32 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003115/0.5522, allocations: 1.57 MB / 1.453 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.5525, allocations: 15.88 kB / 1.453 GB, free: 14.44 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.5531, allocations: 162.8 kB / 1.453 GB, free: 14.28 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.555, allocations: 0.739 MB / 1.454 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.5567, allocations: 0.6383 MB / 1.454 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.5577, allocations: 0.7294 MB / 1.455 GB, free: 12.17 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.5581, allocations: 197 kB / 1.455 GB, free: 11.97 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007078/0.5588, allocations: 362.6 kB / 1.455 GB, free: 11.62 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.5591, allocations: 243 kB / 1.456 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.5592, allocations: 24 kB / 1.456 GB, free: 11.36 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.5609, allocations: 0.9468 MB / 1.457 GB, free: 10.41 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.561, allocations: 111.6 kB / 1.457 GB, free: 10.3 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.5612, allocations: 179.1 kB / 1.457 GB, free: 10.12 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.5624, allocations: 0.7324 MB / 1.458 GB, free: 9.391 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5624, allocations: 0 / 1.458 GB, free: 9.391 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5624, allocations: 0 / 1.458 GB, free: 9.391 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.5624, allocations: 4 kB / 1.458 GB, free: 9.387 MB / 1.154 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.001144/0.5635, allocations: 0.5915 MB / 1.458 GB, free: 8.766 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.5636, allocations: 12.03 kB / 1.458 GB, free: 8.754 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.422e-05/0.5636, allocations: 16.48 kB / 1.458 GB, free: 8.738 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.943e-05/0.5637, allocations: 54.55 kB / 1.458 GB, free: 8.676 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5649, allocations: 159.6 kB / 1.458 GB, free: 8.52 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.5656, allocations: 264.5 kB / 1.459 GB, free: 8.234 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.5656, allocations: 28.38 kB / 1.459 GB, free: 8.207 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.5657, allocations: 24 kB / 1.459 GB, free: 8.184 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.5663, allocations: 273.1 kB / 1.459 GB, free: 7.895 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5663, allocations: 4 kB / 1.459 GB, free: 7.891 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.5663, allocations: 12 kB / 1.459 GB, free: 7.879 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.5664, allocations: 8 kB / 1.459 GB, free: 7.871 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.5669, allocations: 200.9 kB / 1.459 GB, free: 7.676 MB / 1.154 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.001751/0.5686, allocations: 1.2 MB / 1.46 GB, free: 6.379 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.5689, allocations: 142.4 kB / 1.461 GB, free: 6.23 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.5691, allocations: 92.8 kB / 1.461 GB, free: 6.137 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00046/0.5695, allocations: 67.92 kB / 1.461 GB, free: 6.07 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.5696, allocations: 38.5 kB / 1.461 GB, free: 6.023 MB / 1.154 GB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.5696, allocations: 4 kB / 1.461 GB, free: 6.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=17): time 0.0008234/0.5704, allocations: 295.9 kB / 1.461 GB, free: 5.727 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.5704, allocations: 55.41 kB / 1.461 GB, free: 5.66 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.5708, allocations: 316.5 kB / 1.461 GB, free: 5.348 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.5709, allocations: 33.7 kB / 1.461 GB, free: 5.309 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.5711, allocations: 188.2 kB / 1.462 GB, free: 5.121 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.5711, allocations: 59.48 kB / 1.462 GB, free: 5.062 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.5712, allocations: 49.66 kB / 1.462 GB, free: 5.008 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5714, allocations: 346.7 kB / 1.462 GB, free: 4.66 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.5715, allocations: 67.94 kB / 1.462 GB, free: 4.594 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.5718, allocations: 140.8 kB / 1.462 GB, free: 4.438 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.5722, allocations: 190.8 kB / 1.462 GB, free: 4.234 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5722, allocations: 0 / 1.462 GB, free: 4.234 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005/0.5727, allocations: 257.2 kB / 1.463 GB, free: 3.977 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5727, allocations: 4 kB / 1.463 GB, free: 3.973 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5727, allocations: 4 kB / 1.463 GB, free: 3.969 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5727, allocations: 0 / 1.463 GB, free: 3.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.5729, allocations: 47.91 kB / 1.463 GB, free: 3.922 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5729, allocations: 0 / 1.463 GB, free: 3.922 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.5731, allocations: 39.86 kB / 1.463 GB, free: 3.883 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.5732, allocations: 12 kB / 1.463 GB, free: 3.871 MB / 1.154 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.0001572/0.5733, allocations: 153.7 kB / 1.463 GB, free: 3.711 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.5734, allocations: 27.81 kB / 1.463 GB, free: 3.684 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.5739, allocations: 224.7 kB / 1.463 GB, free: 3.453 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.5739, allocations: 0 / 1.463 GB, free: 3.453 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5739, allocations: 4 kB / 1.463 GB, free: 3.449 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5739, allocations: 7.984 kB / 1.463 GB, free: 3.441 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.575, allocations: 0.6787 MB / 1.464 GB, free: 2.691 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5751, allocations: 7.984 kB / 1.464 GB, free: 2.684 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.5752, allocations: 35.92 kB / 1.464 GB, free: 2.648 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.5752, allocations: 4 kB / 1.464 GB, free: 2.645 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.5753, allocations: 7.938 kB / 1.464 GB, free: 2.637 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5753, allocations: 4 kB / 1.464 GB, free: 2.633 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5753, allocations: 4 kB / 1.464 GB, free: 2.629 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.576, allocations: 468 kB / 1.464 GB, free: 2.137 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.5761, allocations: 51.77 kB / 1.464 GB, free: 2.086 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.5761, allocations: 7.938 kB / 1.464 GB, free: 2.078 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.5763, allocations: 11.98 kB / 1.464 GB, free: 2.066 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.5764, allocations: 11.92 kB / 1.464 GB, free: 2.055 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.5764, allocations: 12 kB / 1.464 GB, free: 2.043 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002396/0.5766, allocations: 227 kB / 1.465 GB, free: 1.82 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5766, allocations: 4 kB / 1.465 GB, free: 1.816 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004061/0.577, allocations: 88.02 kB / 1.465 GB, free: 1.73 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.001169/0.5782, allocations: 1.027 MB / 1.466 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.5787, allocations: 183.7 kB / 1.466 GB, free: 484 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5787, allocations: 0 / 1.466 GB, free: 484 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.5789, allocations: 79.89 kB / 1.466 GB, free: 404 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.5797, allocations: 177 kB / 1.466 GB, free: 236 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.5838, allocations: 3.004 MB / 1.469 GB, free: 13.08 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.5842, allocations: 0.7834 MB / 1.47 GB, free: 12.27 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.5844, allocations: 62.92 kB / 1.47 GB, free: 12.21 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.5846, allocations: 95.41 kB / 1.47 GB, free: 12.12 MB / 1.17 GB Notification: Performance of SimCode: time 1.142e-06/0.5846, allocations: 0 / 1.47 GB, free: 12.12 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.6187, allocations: 9.302 MB / 1.479 GB, free: 3.07 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.49, allocations: 4.062 kB / 1.479 GB, free: 3.066 MB / 1.17 GB " [Timeout remaining time 287] (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/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: 19.32066120702075]