Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 92.23 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008932/0.008932, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003738, allocations: 12 kB / 0.8729 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.6532, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1805/0.8337, allocations: 163 MB / 1.182 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.8363, allocations: 1.561 MB / 1.184 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.8365, allocations: 11.94 kB / 1.184 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.8369, allocations: 115.2 kB / 1.184 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.8383, allocations: 0.673 MB / 1.185 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.8396, allocations: 0.5388 MB / 1.185 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009884/0.8406, allocations: 0.9906 MB / 1.186 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.841, allocations: 209 kB / 1.186 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005965/0.8416, allocations: 310.7 kB / 1.187 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.8419, allocations: 239 kB / 1.187 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.8419, allocations: 12 kB / 1.187 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.8433, allocations: 1.013 MB / 1.188 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.8434, allocations: 91.7 kB / 1.188 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.8436, allocations: 192.8 kB / 1.188 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008525/0.8444, allocations: 0.7673 MB / 1.189 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.8445, allocations: 4 kB / 1.189 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8445, allocations: 0 / 1.189 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.309e-06/0.8445, allocations: 4 kB / 1.189 GB, free: 5.465 MB / 0.9356 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.0008446/0.8453, allocations: 0.6039 MB / 1.189 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.8454, allocations: 12.03 kB / 1.189 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.16e-05/0.8454, allocations: 54.55 kB / 1.19 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.8465, allocations: 155.5 kB / 1.19 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.8469, allocations: 318.5 kB / 1.19 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.847, allocations: 20.5 kB / 1.19 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.847, allocations: 24 kB / 1.19 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.8475, allocations: 289.8 kB / 1.19 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8475, allocations: 0 / 1.19 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.8475, allocations: 11.98 kB / 1.19 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.8475, allocations: 12 kB / 1.19 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.848, allocations: 212.9 kB / 1.191 GB, free: 3.656 MB / 0.9356 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.001383/0.8494, allocations: 1.238 MB / 1.192 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.8497, allocations: 154.5 kB / 1.192 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.8499, allocations: 100.8 kB / 1.192 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/0.8505, allocations: 311.2 kB / 1.192 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.8505, allocations: 34.56 kB / 1.192 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 2.895e-06/0.8505, allocations: 4 kB / 1.192 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0007765/0.8513, allocations: 307.2 kB / 1.193 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.8514, allocations: 59.41 kB / 1.193 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.8517, allocations: 324.5 kB / 1.193 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.8517, allocations: 33.64 kB / 1.193 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.8518, allocations: 176.2 kB / 1.193 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.8519, allocations: 63.09 kB / 1.193 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.8519, allocations: 25.72 kB / 1.193 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8521, allocations: 338.8 kB / 1.194 GB, free: 300 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.8523, allocations: 75.95 kB / 1.194 GB, free: 224 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.8525, allocations: 131.5 kB / 1.194 GB, free: 76 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.8529, allocations: 215 kB / 1.194 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8529, allocations: 0 / 1.194 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004809/0.8534, allocations: 269 kB / 1.194 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.8534, allocations: 4 kB / 1.194 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.8534, allocations: 0 / 1.194 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.8534, allocations: 4 kB / 1.194 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.8537, allocations: 48.06 kB / 1.194 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.8537, allocations: 11.92 kB / 1.194 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.8539, allocations: 39.67 kB / 1.194 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.8539, allocations: 12 kB / 1.194 GB, free: 15.46 MB / 0.9512 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.00014/0.8541, allocations: 153.7 kB / 1.195 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.8541, allocations: 35.62 kB / 1.195 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.8546, allocations: 236.7 kB / 1.195 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8547, allocations: 4 kB / 1.195 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8547, allocations: 0 / 1.195 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8547, allocations: 0 / 1.195 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.8557, allocations: 0.7224 MB / 1.195 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8557, allocations: 4 kB / 1.195 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.8559, allocations: 39.97 kB / 1.196 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8559, allocations: 7.938 kB / 1.196 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.8559, allocations: 7.938 kB / 1.196 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.856, allocations: 8.156 kB / 1.196 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.856, allocations: 8 kB / 1.196 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.8566, allocations: 458.3 kB / 1.196 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.8568, allocations: 124.7 kB / 1.196 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.8568, allocations: 16 kB / 1.196 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.857, allocations: 24.02 kB / 1.196 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.8571, allocations: 15.92 kB / 1.196 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.8571, allocations: 4 kB / 1.196 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002135/0.8573, allocations: 235 kB / 1.196 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8573, allocations: 4 kB / 1.196 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003615/0.8577, allocations: 75.91 kB / 1.196 GB, free: 13.16 MB / 0.9512 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.001218/0.8589, allocations: 1.068 MB / 1.198 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000427/0.8594, allocations: 191.9 kB / 1.198 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8594, allocations: 0 / 1.198 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.8596, allocations: 95.83 kB / 1.198 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.8605, allocations: 153.9 kB / 1.198 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.8642, allocations: 3.171 MB / 1.201 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.8645, allocations: 0.7797 MB / 1.202 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.8647, allocations: 66.92 kB / 1.202 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.8649, allocations: 95.41 kB / 1.202 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.8649, allocations: 0 / 1.202 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.8845, allocations: 8.405 MB / 1.21 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.8847, allocations: 227.6 kB / 1.21 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.914, allocations: 0 / 1.21 GB, free: 14.88 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches