Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_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.001239/0.001239, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00117/0.00117, allocations: 187.8 kB / 16.25 MB, free: 6.586 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.274/1.274, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.549/2.549, allocations: 469.8 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 71.09 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2329, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1643/0.3973, allocations: 165.2 MB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.3995, allocations: 1.558 MB / 1.226 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.3997, allocations: 7.938 kB / 1.226 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.4, allocations: 123.2 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.4013, allocations: 0.6653 MB / 1.227 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.4023, allocations: 0.5677 MB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.403, allocations: 0.7176 MB / 1.228 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.4034, allocations: 229.1 kB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005/0.4039, allocations: 346.6 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.4041, allocations: 235 kB / 1.229 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.4042, allocations: 24 kB / 1.229 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.4053, allocations: 0.8961 MB / 1.23 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4054, allocations: 115.7 kB / 1.23 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.4056, allocations: 175.1 kB / 1.23 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.4065, allocations: 0.779 MB / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4065, allocations: 0 / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4065, allocations: 0 / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4065, allocations: 0 / 1.231 GB, free: 2.309 MB / 0.9825 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.0008634/0.4074, allocations: 0.6584 MB / 1.232 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.4074, allocations: 15.91 kB / 1.232 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.4075, allocations: 62.55 kB / 1.232 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.4085, allocations: 159.3 kB / 1.232 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.4089, allocations: 310.7 kB / 1.232 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.4089, allocations: 24.5 kB / 1.232 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.409, allocations: 27.98 kB / 1.232 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.4095, allocations: 281.8 kB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4095, allocations: 0 / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.4095, allocations: 11.94 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4095, allocations: 4 kB / 1.233 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.4099, allocations: 204.9 kB / 1.233 GB, free: 464 kB / 0.9825 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.001335/0.4113, allocations: 1.223 MB / 1.234 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.4115, allocations: 142.5 kB / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.4117, allocations: 100.8 kB / 1.234 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/0.4123, allocations: 311.2 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.4123, allocations: 34.88 kB / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.4123, allocations: 0 / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007076/0.4131, allocations: 302.6 kB / 1.235 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.4131, allocations: 51.41 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.4134, allocations: 324.5 kB / 1.235 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.4135, allocations: 29.7 kB / 1.235 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.4136, allocations: 184.1 kB / 1.235 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.4137, allocations: 63.11 kB / 1.235 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/0.4137, allocations: 41.7 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4139, allocations: 346.8 kB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.4141, allocations: 67.95 kB / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.4143, allocations: 123.9 kB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.4146, allocations: 202.1 kB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4147, allocations: 3.938 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004502/0.4151, allocations: 253.1 kB / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4151, allocations: 4 kB / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4151, allocations: 4 kB / 1.236 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.4152, allocations: 0 / 1.236 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.4153, allocations: 51.91 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4154, allocations: 4 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.4156, allocations: 31.73 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.4156, allocations: 8 kB / 1.237 GB, free: 12.33 MB / 0.9981 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.000142/0.4157, allocations: 157.7 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.4158, allocations: 27.72 kB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.4162, allocations: 236.6 kB / 1.237 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4163, allocations: 0 / 1.237 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4163, allocations: 0 / 1.237 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4163, allocations: 3.938 kB / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.4173, allocations: 0.7069 MB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4173, allocations: 8.031 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.4175, allocations: 39.91 kB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4175, allocations: 4 kB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4175, allocations: 4 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.4175, allocations: 7.938 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4175, allocations: 0 / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.4181, allocations: 450.8 kB / 1.238 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.4183, allocations: 128.7 kB / 1.238 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.4183, allocations: 8 kB / 1.238 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.4185, allocations: 19.92 kB / 1.238 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.4186, allocations: 11.98 kB / 1.238 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4186, allocations: 8 kB / 1.238 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002203/0.4188, allocations: 231 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4188, allocations: 7.938 kB / 1.239 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003415/0.4191, allocations: 87.84 kB / 1.239 GB, free: 10.06 MB / 0.9981 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.001159/0.4203, allocations: 1.052 MB / 1.24 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.4207, allocations: 189.3 kB / 1.24 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4207, allocations: 4 kB / 1.24 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.4209, allocations: 87.89 kB / 1.24 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.4217, allocations: 163.8 kB / 1.24 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.4253, allocations: 3.103 MB / 1.243 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.4257, allocations: 0.7795 MB / 1.244 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.4259, allocations: 66.92 kB / 1.244 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.426, allocations: 95.41 kB / 1.244 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.426, allocations: 0 / 1.244 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.087/2.513, allocations: 8.772 MB / 1.253 GB, free: 187 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/2.513, allocations: 228 kB / 1.253 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/4.631, allocations: 0.9688 kB / 1.253 GB, free: 186.7 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches