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.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.0008414/0.0008414, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007822/0.0007822, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8414/0.8414, allocations: 177.2 MB / 202.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.688/1.688, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.263e-06/1.263e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.793e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5278/0.5278, allocations: 147.6 MB / 1.144 GB, free: 7.809 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.5298, allocations: 1.476 MB / 1.145 GB, free: 6.809 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.53, allocations: 15.53 kB / 1.145 GB, free: 6.801 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.5304, allocations: 156.3 kB / 1.145 GB, free: 6.699 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.5317, allocations: 0.7177 MB / 1.146 GB, free: 6.32 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.5329, allocations: 0.6498 MB / 1.147 GB, free: 6.004 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007009/0.5336, allocations: 0.6983 MB / 1.147 GB, free: 5.676 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.5339, allocations: 172.9 kB / 1.148 GB, free: 5.605 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008594/0.5348, allocations: 0.5995 MB / 1.148 GB, free: 5.344 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.535, allocations: 197.5 kB / 1.148 GB, free: 5.281 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.535, allocations: 24.16 kB / 1.148 GB, free: 5.281 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009839/0.536, allocations: 0.7177 MB / 1.149 GB, free: 5.012 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.5361, allocations: 120.3 kB / 1.149 GB, free: 4.953 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.5362, allocations: 117.7 kB / 1.149 GB, free: 4.91 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0009358/0.5372, allocations: 0.7422 MB / 1.15 GB, free: 4.664 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5372, allocations: 1.281 kB / 1.15 GB, free: 4.664 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5372, allocations: 0 / 1.15 GB, free: 4.664 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5372, allocations: 0 / 1.15 GB, free: 4.664 MB / 1.01 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.0008202/0.538, allocations: 0.5887 MB / 1.151 GB, free: 4.207 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5381, allocations: 9.469 kB / 1.151 GB, free: 4.207 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.5381, allocations: 64.59 kB / 1.151 GB, free: 4.148 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000662/0.5388, allocations: 150.9 kB / 1.151 GB, free: 4.121 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.5392, allocations: 263.5 kB / 1.151 GB, free: 3.922 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.5392, allocations: 18.47 kB / 1.151 GB, free: 3.914 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.5392, allocations: 23.69 kB / 1.151 GB, free: 3.906 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.5396, allocations: 286.6 kB / 1.151 GB, free: 3.758 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5396, allocations: 0 / 1.151 GB, free: 3.758 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.5396, allocations: 6.281 kB / 1.151 GB, free: 3.754 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5396, allocations: 6.062 kB / 1.151 GB, free: 3.754 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.5399, allocations: 208.2 kB / 1.152 GB, free: 3.691 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.541, allocations: 0.9916 MB / 1.153 GB, free: 2.93 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.5413, allocations: 137.5 kB / 1.153 GB, free: 2.871 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.5415, allocations: 89.81 kB / 1.153 GB, free: 2.84 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/0.5418, allocations: 77.94 kB / 1.153 GB, free: 2.828 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.5419, allocations: 44.08 kB / 1.153 GB, free: 2.781 MB / 1.01 GB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.5419, allocations: 1.406 kB / 1.153 GB, free: 2.781 MB / 1.01 GB Notification: Performance of matching and sorting (n=17): time 0.0007312/0.5426, allocations: 295.2 kB / 1.153 GB, free: 2.672 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.5426, allocations: 57.34 kB / 1.153 GB, free: 2.605 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.5429, allocations: 319 kB / 1.154 GB, free: 2.434 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.5429, allocations: 26.92 kB / 1.154 GB, free: 2.402 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.543, allocations: 183.7 kB / 1.154 GB, free: 2.246 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.5431, allocations: 62.81 kB / 1.154 GB, free: 2.195 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.5431, allocations: 48.5 kB / 1.154 GB, free: 2.164 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.5432, allocations: 343.6 kB / 1.154 GB, free: 1.836 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.5434, allocations: 65.78 kB / 1.154 GB, free: 1.82 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.5435, allocations: 213 kB / 1.154 GB, free: 1.648 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.5438, allocations: 192.6 kB / 1.155 GB, free: 1.547 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5438, allocations: 1.094 kB / 1.155 GB, free: 1.547 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003189/0.5441, allocations: 259.5 kB / 1.155 GB, free: 1.434 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5441, allocations: 10.2 kB / 1.155 GB, free: 1.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5441, allocations: 9.469 kB / 1.155 GB, free: 1.426 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5441, allocations: 2.656 kB / 1.155 GB, free: 1.426 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.5443, allocations: 44.59 kB / 1.155 GB, free: 1.422 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5443, allocations: 3.75 kB / 1.155 GB, free: 1.422 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.5444, allocations: 33.88 kB / 1.155 GB, free: 1.402 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.5444, allocations: 12.55 kB / 1.155 GB, free: 1.398 MB / 1.01 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.0001085/0.5445, allocations: 149.4 kB / 1.155 GB, free: 1.266 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.5446, allocations: 34.25 kB / 1.155 GB, free: 1.246 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.5449, allocations: 227.2 kB / 1.155 GB, free: 1.148 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5449, allocations: 2.094 kB / 1.155 GB, free: 1.148 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5449, allocations: 1.734 kB / 1.155 GB, free: 1.148 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5449, allocations: 0.6562 kB / 1.155 GB, free: 1.148 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.5456, allocations: 0.6673 MB / 1.156 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5456, allocations: 3 kB / 1.156 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.83e-05/0.5457, allocations: 35.12 kB / 1.156 GB, free: 0.6758 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5457, allocations: 3.156 kB / 1.156 GB, free: 0.6758 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.5457, allocations: 7.922 kB / 1.156 GB, free: 0.6719 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.5457, allocations: 3.469 kB / 1.156 GB, free: 0.6719 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5457, allocations: 2.156 kB / 1.156 GB, free: 0.6719 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.5462, allocations: 447.1 kB / 1.157 GB, free: 400 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.5462, allocations: 46.22 kB / 1.157 GB, free: 376 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.5463, allocations: 12.38 kB / 1.157 GB, free: 368 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.5464, allocations: 12.2 kB / 1.157 GB, free: 364 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.5464, allocations: 20.16 kB / 1.157 GB, free: 356 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.5464, allocations: 6.859 kB / 1.157 GB, free: 356 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000169/0.5466, allocations: 231.3 kB / 1.157 GB, free: 232 kB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5466, allocations: 0 / 1.157 GB, free: 232 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003012/0.5469, allocations: 89.58 kB / 1.157 GB, free: 212 kB / 1.01 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.0007822/0.5477, allocations: 1.023 MB / 1.158 GB, free: 15.38 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.5479, allocations: 185.3 kB / 1.158 GB, free: 15.32 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5479, allocations: 0 / 1.158 GB, free: 15.32 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.5481, allocations: 83.33 kB / 1.158 GB, free: 15.3 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.5486, allocations: 162.2 kB / 1.158 GB, free: 15.26 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.5514, allocations: 2.942 MB / 1.161 GB, free: 13.31 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.5515, allocations: 181 kB / 1.161 GB, free: 13.22 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001785/0.5517, allocations: 66.09 kB / 1.161 GB, free: 13.21 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.5518, allocations: 90.11 kB / 1.162 GB, free: 13.15 MB / 1.026 GB Notification: Performance of SimCode: time 8.01e-07/0.5518, allocations: 0 / 1.162 GB, free: 13.15 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.5766, allocations: 10.06 MB / 1.171 GB, free: 11.54 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.464/7.04, allocations: 7.656 kB / 1.171 GB, free: 11.54 MB / 1.026 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.931769800372422]