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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001461/0.001461, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.315/2.315, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 64.08 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5772/0.5787, allocations: 140.3 MB / 0.949 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1745/0.7532, allocations: 165.2 MB / 1.11 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.7557, allocations: 1.581 MB / 1.112 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.7559, allocations: 11.94 kB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.7563, allocations: 119.2 kB / 1.112 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.7578, allocations: 0.6652 MB / 1.113 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.759, allocations: 0.5563 MB / 1.113 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008614/0.7599, allocations: 0.9867 MB / 1.114 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.7602, allocations: 197.4 kB / 1.114 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.7607, allocations: 314.7 kB / 1.115 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.761, allocations: 243 kB / 1.115 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.761, allocations: 16 kB / 1.115 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.7625, allocations: 1.013 MB / 1.116 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.7626, allocations: 103.6 kB / 1.116 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.7628, allocations: 155.2 kB / 1.116 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009369/0.7637, allocations: 0.7751 MB / 1.117 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.7637, allocations: 0 / 1.117 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7637, allocations: 0 / 1.117 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7637, allocations: 0 / 1.117 GB, free: 5.703 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.0008831/0.7646, allocations: 0.6719 MB / 1.118 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.7647, allocations: 8.031 kB / 1.118 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.096e-05/0.7647, allocations: 62.53 kB / 1.118 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.7659, allocations: 151.5 kB / 1.118 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.7663, allocations: 314.6 kB / 1.118 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.7663, allocations: 24.5 kB / 1.118 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.7664, allocations: 23.94 kB / 1.118 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.7669, allocations: 285.9 kB / 1.118 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.7669, allocations: 0 / 1.118 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.7669, allocations: 8 kB / 1.118 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.7669, allocations: 4 kB / 1.118 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.7673, allocations: 204.7 kB / 1.119 GB, free: 3.852 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.001322/0.7687, allocations: 1.23 MB / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.769, allocations: 150.5 kB / 1.12 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.7692, allocations: 100.7 kB / 1.12 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/0.7698, allocations: 295.2 kB / 1.12 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.7699, allocations: 46.44 kB / 1.12 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.7699, allocations: 0 / 1.12 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0007887/0.7707, allocations: 295.1 kB / 1.121 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.7707, allocations: 51.41 kB / 1.121 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.771, allocations: 324.5 kB / 1.121 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.7711, allocations: 29.7 kB / 1.121 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.7712, allocations: 184.2 kB / 1.121 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.7713, allocations: 59.11 kB / 1.121 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.7713, allocations: 45.7 kB / 1.121 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7715, allocations: 338.8 kB / 1.122 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.7717, allocations: 71.94 kB / 1.122 GB, free: 452 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.7719, allocations: 134.3 kB / 1.122 GB, free: 300 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.7723, allocations: 197 kB / 1.122 GB, free: 84 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7723, allocations: 4 kB / 1.122 GB, free: 80 kB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004867/0.7728, allocations: 254.1 kB / 1.122 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.7728, allocations: 4 kB / 1.122 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.7728, allocations: 0 / 1.122 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.7728, allocations: 4 kB / 1.122 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.773, allocations: 47.92 kB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.773, allocations: 3.984 kB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.7733, allocations: 39.77 kB / 1.122 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.7733, allocations: 12 kB / 1.122 GB, free: 15.71 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.0001333/0.7734, allocations: 149.7 kB / 1.122 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.7735, allocations: 31.62 kB / 1.123 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.774, allocations: 242.2 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.774, allocations: 0 / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.774, allocations: 0 / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.774, allocations: 3.984 kB / 1.123 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.7751, allocations: 0.7106 MB / 1.123 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.7751, allocations: 4 kB / 1.123 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.7753, allocations: 35.92 kB / 1.123 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7753, allocations: 4 kB / 1.123 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.7753, allocations: 7.938 kB / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.7753, allocations: 3.984 kB / 1.124 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7753, allocations: 8.156 kB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.7759, allocations: 457 kB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.7761, allocations: 120.8 kB / 1.124 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.7761, allocations: 7.938 kB / 1.124 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.7763, allocations: 23.83 kB / 1.124 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.7764, allocations: 23.97 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.7764, allocations: 8 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002114/0.7766, allocations: 231 kB / 1.124 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7766, allocations: 0 / 1.124 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003769/0.777, allocations: 72 kB / 1.124 GB, free: 13.45 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.001172/0.7782, allocations: 1.045 MB / 1.125 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.7786, allocations: 182 kB / 1.126 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7786, allocations: 0 / 1.126 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.7788, allocations: 100 kB / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.7797, allocations: 161.8 kB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.7833, allocations: 3.088 MB / 1.129 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.7837, allocations: 0.7797 MB / 1.13 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002308/0.7839, allocations: 62.92 kB / 1.13 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.784, allocations: 99.41 kB / 1.13 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of SimCode: time 2.51e-07/0.784, allocations: 0 / 1.13 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.8044, allocations: 8.531 MB / 1.138 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/0.8047, allocations: 230.4 kB / 1.138 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.706, allocations: 4 kB / 1.138 GB, free: 15.13 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