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.001455/0.001455, allocations: 113.5 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.001604/0.001604, allocations: 218 kB / 23.04 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.318/1.318, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.873/2.873, allocations: 0.49 GB / 0.7959 GB, free: 33.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_12_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.001794/0.001794, allocations: 61.41 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2816, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1847/0.4663, allocations: 171.1 MB / 1.494 GB, free: 6.246 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.4689, allocations: 1.577 MB / 1.495 GB, free: 4.668 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.4691, allocations: 19.81 kB / 1.495 GB, free: 4.648 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.4696, allocations: 146.9 kB / 1.495 GB, free: 4.504 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.4711, allocations: 0.7468 MB / 1.496 GB, free: 3.754 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.4724, allocations: 0.6306 MB / 1.497 GB, free: 3.125 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007994/0.4732, allocations: 0.7294 MB / 1.497 GB, free: 2.395 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.4735, allocations: 201 kB / 1.498 GB, free: 2.191 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009075/0.4744, allocations: 0.5099 MB / 1.498 GB, free: 1.68 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.4748, allocations: 239 kB / 1.498 GB, free: 1.445 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.4748, allocations: 24 kB / 1.498 GB, free: 1.422 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.4761, allocations: 0.9313 MB / 1.499 GB, free: 500 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4763, allocations: 111.6 kB / 1.499 GB, free: 388 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.4764, allocations: 179.1 kB / 1.5 GB, free: 208 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009331/0.4774, allocations: 0.7281 MB / 1.5 GB, free: 15.47 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4774, allocations: 0 / 1.5 GB, free: 15.47 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4774, allocations: 0 / 1.5 GB, free: 15.47 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.4774, allocations: 4 kB / 1.5 GB, free: 15.47 MB / 1.201 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.0009045/0.4783, allocations: 0.6017 MB / 1.501 GB, free: 14.83 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4783, allocations: 12.03 kB / 1.501 GB, free: 14.82 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.547e-05/0.4783, allocations: 4.5 kB / 1.501 GB, free: 14.82 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.4784, allocations: 58.55 kB / 1.501 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.4794, allocations: 159.6 kB / 1.501 GB, free: 14.59 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.4799, allocations: 264.5 kB / 1.501 GB, free: 14.31 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.4799, allocations: 32.36 kB / 1.501 GB, free: 14.28 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.48, allocations: 24 kB / 1.501 GB, free: 14.26 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.4805, allocations: 281.1 kB / 1.502 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4805, allocations: 4 kB / 1.502 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.4805, allocations: 8 kB / 1.502 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4805, allocations: 8 kB / 1.502 GB, free: 13.94 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.4809, allocations: 200.9 kB / 1.502 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.4823, allocations: 1.196 MB / 1.503 GB, free: 12.45 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.4825, allocations: 142.4 kB / 1.503 GB, free: 12.3 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.4827, allocations: 92.75 kB / 1.503 GB, free: 12.21 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/0.4831, allocations: 79.91 kB / 1.503 GB, free: 12.13 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4832, allocations: 38.5 kB / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.4832, allocations: 0 / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.0007353/0.4839, allocations: 289.6 kB / 1.504 GB, free: 11.8 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4839, allocations: 55.41 kB / 1.504 GB, free: 11.73 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.4842, allocations: 320.5 kB / 1.504 GB, free: 11.41 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4843, allocations: 29.7 kB / 1.504 GB, free: 11.37 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4844, allocations: 188.2 kB / 1.504 GB, free: 11.18 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.4844, allocations: 55.48 kB / 1.504 GB, free: 11.13 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.4845, allocations: 49.66 kB / 1.504 GB, free: 11.07 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4847, allocations: 350.7 kB / 1.505 GB, free: 10.72 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.4848, allocations: 67.95 kB / 1.505 GB, free: 10.66 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.485, allocations: 127.9 kB / 1.505 GB, free: 10.52 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.4854, allocations: 206.9 kB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4854, allocations: 0 / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004556/0.4858, allocations: 253.2 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4859, allocations: 5.875 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4859, allocations: 0 / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4859, allocations: 8.094 kB / 1.505 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.4861, allocations: 47.91 kB / 1.505 GB, free: 9.984 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.4861, allocations: 0 / 1.505 GB, free: 9.984 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.4863, allocations: 35.77 kB / 1.505 GB, free: 9.949 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.4863, allocations: 12 kB / 1.505 GB, free: 9.938 MB / 1.201 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.0001401/0.4864, allocations: 153.7 kB / 1.506 GB, free: 9.777 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.4865, allocations: 31.81 kB / 1.506 GB, free: 9.746 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.4869, allocations: 232.7 kB / 1.506 GB, free: 9.512 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4869, allocations: 0 / 1.506 GB, free: 9.512 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.4869, allocations: 0 / 1.506 GB, free: 9.512 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4869, allocations: 4 kB / 1.506 GB, free: 9.508 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.488, allocations: 0.6825 MB / 1.506 GB, free: 8.754 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.488, allocations: 0 / 1.506 GB, free: 8.754 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.4881, allocations: 35.92 kB / 1.507 GB, free: 8.719 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4881, allocations: 0 / 1.507 GB, free: 8.719 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.4881, allocations: 15.94 kB / 1.507 GB, free: 8.703 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4881, allocations: 8.203 kB / 1.507 GB, free: 8.695 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4881, allocations: 8.094 kB / 1.507 GB, free: 8.688 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/0.4888, allocations: 450.6 kB / 1.507 GB, free: 8.211 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.4889, allocations: 47.78 kB / 1.507 GB, free: 8.164 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.4889, allocations: 7.938 kB / 1.507 GB, free: 8.156 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.4891, allocations: 11.98 kB / 1.507 GB, free: 8.145 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.4891, allocations: 19.98 kB / 1.507 GB, free: 8.125 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4892, allocations: 11.98 kB / 1.507 GB, free: 8.113 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002304/0.4894, allocations: 231 kB / 1.507 GB, free: 7.891 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.4894, allocations: 0 / 1.507 GB, free: 7.891 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000353/0.4897, allocations: 83.88 kB / 1.507 GB, free: 7.809 MB / 1.201 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.001048/0.4908, allocations: 1.032 MB / 1.508 GB, free: 6.727 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.4912, allocations: 179.7 kB / 1.509 GB, free: 6.551 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4912, allocations: 0 / 1.509 GB, free: 6.551 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.4914, allocations: 84.44 kB / 1.509 GB, free: 6.469 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.4922, allocations: 173.5 kB / 1.509 GB, free: 6.305 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.4957, allocations: 3.003 MB / 1.512 GB, free: 3.156 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.4961, allocations: 0.7873 MB / 1.513 GB, free: 2.344 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.4962, allocations: 58.94 kB / 1.513 GB, free: 2.285 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.4964, allocations: 95.39 kB / 1.513 GB, free: 2.191 MB / 1.201 GB Notification: Performance of SimCode: time 2.8e-07/0.4964, allocations: 0 / 1.513 GB, free: 2.191 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.5267, allocations: 9.306 MB / 1.522 GB, free: 9.145 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.07, allocations: 11.56 kB / 1.522 GB, free: 9.137 MB / 1.217 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.091109336004592]