Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_9_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.0009979/0.0009979, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.001238/0.001238, allocations: 172.2 kB / 16.26 MB, free: 6.664 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.9 MB / 0.6664 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004306, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5785/0.579, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1591/0.7381, allocations: 163 MB / 1.114 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.7408, allocations: 1.552 MB / 1.116 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.7412, allocations: 15.94 kB / 1.116 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.7417, allocations: 119.2 kB / 1.116 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.7432, allocations: 0.6691 MB / 1.117 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.7446, allocations: 0.5484 MB / 1.117 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009953/0.7457, allocations: 0.9945 MB / 1.118 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.746, allocations: 193.4 kB / 1.118 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006411/0.7467, allocations: 314.7 kB / 1.119 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.747, allocations: 227.1 kB / 1.119 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.7471, allocations: 16 kB / 1.119 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.7485, allocations: 1.009 MB / 1.12 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.7486, allocations: 103.6 kB / 1.12 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.7488, allocations: 184.9 kB / 1.12 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.7499, allocations: 0.7711 MB / 1.121 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.7499, allocations: 0 / 1.121 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7499, allocations: 0 / 1.121 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7499, allocations: 0 / 1.121 GB, free: 5.016 MB / 0.8731 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.0008484/0.7508, allocations: 0.6117 MB / 1.121 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7508, allocations: 8.031 kB / 1.122 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.7509, allocations: 54.55 kB / 1.122 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.752, allocations: 159.4 kB / 1.122 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.7524, allocations: 302.7 kB / 1.122 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.7524, allocations: 32.44 kB / 1.122 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.7524, allocations: 27.98 kB / 1.122 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.7529, allocations: 281.9 kB / 1.122 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7529, allocations: 7.922 kB / 1.122 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.7529, allocations: 8 kB / 1.122 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.753, allocations: 12 kB / 1.122 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.7534, allocations: 212.7 kB / 1.123 GB, free: 3.203 MB / 0.8731 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.001296/0.7547, allocations: 1.234 MB / 1.124 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.755, allocations: 154.4 kB / 1.124 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.7552, allocations: 104.8 kB / 1.124 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005737/0.7557, allocations: 323.2 kB / 1.124 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.7558, allocations: 30.56 kB / 1.124 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 2.524e-06/0.7558, allocations: 7.984 kB / 1.124 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0007544/0.7566, allocations: 302.7 kB / 1.125 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.7566, allocations: 55.41 kB / 1.125 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.7569, allocations: 328.4 kB / 1.125 GB, free: 496 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.7569, allocations: 29.7 kB / 1.125 GB, free: 460 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.7571, allocations: 184.2 kB / 1.125 GB, free: 272 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.7571, allocations: 63.05 kB / 1.125 GB, free: 208 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.7572, allocations: 25.7 kB / 1.125 GB, free: 176 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7573, allocations: 338.8 kB / 1.126 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.7575, allocations: 75.94 kB / 1.126 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.7577, allocations: 139 kB / 1.126 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.7581, allocations: 203.2 kB / 1.126 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7581, allocations: 0 / 1.126 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004775/0.7586, allocations: 269 kB / 1.126 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7586, allocations: 9.719 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7586, allocations: 0 / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.7586, allocations: 4 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.7588, allocations: 43.92 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.7588, allocations: 7.984 kB / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.7591, allocations: 43.73 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.7591, allocations: 12 kB / 1.126 GB, free: 15 MB / 0.8887 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.0001334/0.7592, allocations: 149.7 kB / 1.127 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.7593, allocations: 27.72 kB / 1.127 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.7598, allocations: 244.6 kB / 1.127 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7598, allocations: 0 / 1.127 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7598, allocations: 7.984 kB / 1.127 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7598, allocations: 0 / 1.127 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009718/0.7608, allocations: 0.7184 MB / 1.127 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7608, allocations: 4.219 kB / 1.127 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.761, allocations: 35.98 kB / 1.128 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.761, allocations: 0 / 1.128 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.761, allocations: 15.92 kB / 1.128 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.761, allocations: 7.984 kB / 1.128 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.761, allocations: 3.938 kB / 1.128 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/0.7617, allocations: 463.4 kB / 1.128 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.7618, allocations: 124.7 kB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.7618, allocations: 15.92 kB / 1.128 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.762, allocations: 20 kB / 1.128 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.7621, allocations: 19.97 kB / 1.128 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.7621, allocations: 8 kB / 1.128 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002017/0.7623, allocations: 235 kB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7623, allocations: 0 / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003642/0.7627, allocations: 83.91 kB / 1.128 GB, free: 12.7 MB / 0.8887 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.0011/0.7638, allocations: 1.07 MB / 1.13 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.7642, allocations: 187.7 kB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7642, allocations: 4 kB / 1.13 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.7644, allocations: 104 kB / 1.13 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.7654, allocations: 154.8 kB / 1.13 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.7689, allocations: 3.163 MB / 1.133 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.7692, allocations: 0.7797 MB / 1.134 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002209/0.7694, allocations: 62.92 kB / 1.134 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.7695, allocations: 95.41 kB / 1.134 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/0.7695, allocations: 7.938 kB / 1.134 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7839/1.553, allocations: 8.398 MB / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003546/1.554, allocations: 225.8 kB / 1.142 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.468/6.022, allocations: 0 / 1.142 GB, free: 14.43 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches