Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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.004603/0.004603, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001271/0.001271, allocations: 193.3 kB / 16.67 MB, free: 5.93 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.513/2.513, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 63.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2545, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6507/0.9053, allocations: 181.8 MB / 1.398 GB, free: 7.027 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005592/0.9109, allocations: 4.448 MB / 1.402 GB, free: 3.41 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.9112, allocations: 23.94 kB / 1.402 GB, free: 3.398 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.9118, allocations: 240.4 kB / 1.402 GB, free: 3.188 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.9134, allocations: 0.7612 MB / 1.403 GB, free: 2.59 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.9163, allocations: 1.513 MB / 1.405 GB, free: 1.477 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.9175, allocations: 1.264 MB / 1.406 GB, free: 0.75 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005486/0.918, allocations: 450.4 kB / 1.406 GB, free: 480 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007753/0.9188, allocations: 0.5687 MB / 1.407 GB, free: 148 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.9193, allocations: 412.9 kB / 1.407 GB, free: 15.89 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.9194, allocations: 46.25 kB / 1.407 GB, free: 15.89 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.9215, allocations: 1.544 MB / 1.409 GB, free: 15.02 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.9217, allocations: 191.5 kB / 1.409 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.922, allocations: 300.5 kB / 1.409 GB, free: 14.7 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.9236, allocations: 1.31 MB / 1.41 GB, free: 13.91 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.9236, allocations: 0 / 1.41 GB, free: 13.91 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.62e-07/0.9236, allocations: 1.438 kB / 1.41 GB, free: 13.91 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.9236, allocations: 0 / 1.41 GB, free: 13.91 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001545/0.9252, allocations: 1.048 MB / 1.411 GB, free: 13.03 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.9252, allocations: 9.625 kB / 1.411 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.849e-05/0.9253, allocations: 81.64 kB / 1.412 GB, free: 12.95 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.9271, allocations: 285.6 kB / 1.412 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.9278, allocations: 474.7 kB / 1.412 GB, free: 12.43 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.9279, allocations: 31.09 kB / 1.412 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.9279, allocations: 41.44 kB / 1.412 GB, free: 12.41 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.9289, allocations: 0.5509 MB / 1.413 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.9289, allocations: 1.219 kB / 1.413 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.929, allocations: 19.25 kB / 1.413 GB, free: 12.02 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.929, allocations: 18.44 kB / 1.413 GB, free: 12.01 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009822/0.93, allocations: 457.3 kB / 1.413 GB, free: 11.8 MB / 1.107 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.002219/0.9322, allocations: 2.12 MB / 1.415 GB, free: 9.949 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008608/0.9331, allocations: 413 kB / 1.416 GB, free: 9.742 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.9335, allocations: 231.2 kB / 1.416 GB, free: 9.629 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000612/0.9341, allocations: 399.5 kB / 1.416 GB, free: 9.219 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005607/0.9347, allocations: 295.1 kB / 1.417 GB, free: 9.035 MB / 1.107 GB Notification: Performance of pre-optimization done (n=37): time 1.694e-06/0.9347, allocations: 4 kB / 1.417 GB, free: 9.031 MB / 1.107 GB Notification: Performance of matching and sorting (n=37): time 0.001581/0.9363, allocations: 0.6844 MB / 1.417 GB, free: 8.703 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.9364, allocations: 56.41 kB / 1.417 GB, free: 8.641 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.9369, allocations: 499.5 kB / 1.418 GB, free: 8.34 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.9369, allocations: 33.33 kB / 1.418 GB, free: 8.305 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.9371, allocations: 264.8 kB / 1.418 GB, free: 8.07 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.9372, allocations: 126.2 kB / 1.418 GB, free: 7.961 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.9374, allocations: 94.05 kB / 1.418 GB, free: 7.902 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9375, allocations: 367.7 kB / 1.419 GB, free: 7.547 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.938, allocations: 191.7 kB / 1.419 GB, free: 7.461 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.9385, allocations: 320.3 kB / 1.419 GB, free: 7.238 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/0.9395, allocations: 0.5401 MB / 1.42 GB, free: 6.859 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.9395, allocations: 2.719 kB / 1.42 GB, free: 6.859 MB / 1.107 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001157/0.9406, allocations: 0.6542 MB / 1.42 GB, free: 6.488 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.9407, allocations: 67.14 kB / 1.42 GB, free: 6.418 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9407, allocations: 5.281 kB / 1.42 GB, free: 6.418 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.9407, allocations: 2.719 kB / 1.42 GB, free: 6.418 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.9411, allocations: 102.7 kB / 1.421 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.9411, allocations: 6.75 kB / 1.421 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.9416, allocations: 79.89 kB / 1.421 GB, free: 6.336 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.9416, allocations: 21.06 kB / 1.421 GB, free: 6.332 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002016/0.9419, allocations: 197.8 kB / 1.421 GB, free: 6.164 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.9419, allocations: 52.73 kB / 1.421 GB, free: 6.137 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.943, allocations: 0.5384 MB / 1.421 GB, free: 5.832 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.9431, allocations: 5.875 kB / 1.421 GB, free: 5.832 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9431, allocations: 1.562 kB / 1.421 GB, free: 5.832 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.9431, allocations: 3.984 kB / 1.421 GB, free: 5.828 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.945, allocations: 1.354 MB / 1.423 GB, free: 4.848 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.9451, allocations: 13 kB / 1.423 GB, free: 4.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.9454, allocations: 76.53 kB / 1.423 GB, free: 4.816 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.9454, allocations: 4.844 kB / 1.423 GB, free: 4.816 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.9455, allocations: 12 kB / 1.423 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.9455, allocations: 4.969 kB / 1.423 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.9455, allocations: 12.28 kB / 1.423 GB, free: 4.805 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.947, allocations: 0.9379 MB / 1.424 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.9472, allocations: 176.3 kB / 1.424 GB, free: 4.02 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.9473, allocations: 13.7 kB / 1.424 GB, free: 4.012 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.9477, allocations: 34.78 kB / 1.424 GB, free: 3.996 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.9478, allocations: 52.03 kB / 1.424 GB, free: 3.965 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.9479, allocations: 17.31 kB / 1.424 GB, free: 3.961 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003697/0.9482, allocations: 344.5 kB / 1.424 GB, free: 3.672 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9482, allocations: 0 / 1.424 GB, free: 3.672 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004856/0.9487, allocations: 159.8 kB / 1.425 GB, free: 3.516 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002188/0.9509, allocations: 1.577 MB / 1.426 GB, free: 1.883 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.952, allocations: 0.5807 MB / 1.427 GB, free: 1.277 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9521, allocations: 3.938 kB / 1.427 GB, free: 1.273 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006368/0.9527, allocations: 297.1 kB / 1.427 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.9539, allocations: 286.1 kB / 1.427 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.9608, allocations: 5.007 MB / 1.432 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.9612, allocations: 0.8743 MB / 1.433 GB, free: 10.55 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003645/0.9616, allocations: 124.7 kB / 1.433 GB, free: 10.42 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.9618, allocations: 175.4 kB / 1.433 GB, free: 10.25 MB / 1.123 GB Notification: Performance of SimCode: time 3.11e-07/0.9619, allocations: 0 / 1.433 GB, free: 10.25 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.334/3.296, allocations: 15.87 MB / 1.449 GB, free: 10.66 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/17.38, allocations: 0.8906 kB / 1.449 GB, free: 10.66 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches