Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.TemperatureDryBulb,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_10_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.001197/0.001197, 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.001222/0.001222, allocations: 190 kB / 16.25 MB, free: 6.637 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.284/1.284, 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 10.1.1-maint.10.0.x/package.mo): time 2.319/2.319, allocations: 437.1 MB / 0.7101 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 71.89 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5282, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1626/0.6909, allocations: 179.4 MB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004924/0.6958, allocations: 4.423 MB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.6961, allocations: 15.88 kB / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.6966, allocations: 214.7 kB / 1.197 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.698, allocations: 0.7078 MB / 1.197 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.7005, allocations: 1.413 MB / 1.199 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.7015, allocations: 1.262 MB / 1.2 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004758/0.702, allocations: 429.3 kB / 1.2 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006965/0.7027, allocations: 0.5837 MB / 1.201 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.7031, allocations: 422.3 kB / 1.201 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.7032, allocations: 47.94 kB / 1.201 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.705, allocations: 1.605 MB / 1.203 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.7052, allocations: 183.4 kB / 1.203 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.7055, allocations: 310.5 kB / 1.203 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.7069, allocations: 1.406 MB / 1.205 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.7069, allocations: 0 / 1.205 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7069, allocations: 0 / 1.205 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.7069, allocations: 0 / 1.205 GB, free: 1.723 MB / 0.9512 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.0015/0.7084, allocations: 1.017 MB / 1.206 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.7084, allocations: 12.03 kB / 1.206 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.571e-05/0.7085, allocations: 78.52 kB / 1.206 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.7104, allocations: 282.9 kB / 1.206 GB, free: 276 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.711, allocations: 441.5 kB / 1.207 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.7111, allocations: 36.98 kB / 1.207 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/0.7112, allocations: 44 kB / 1.207 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/0.7121, allocations: 0.5468 MB / 1.207 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.7121, allocations: 0 / 1.207 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.7122, allocations: 19.94 kB / 1.207 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.7122, allocations: 19.94 kB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.7131, allocations: 455.5 kB / 1.208 GB, free: 14.65 MB / 0.9669 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.002202/0.7154, allocations: 2.119 MB / 1.21 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.7162, allocations: 406.4 kB / 1.21 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.7167, allocations: 232.7 kB / 1.21 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/0.7173, allocations: 400.3 kB / 1.211 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.7179, allocations: 286.9 kB / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 1.793e-06/0.7179, allocations: 0 / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001593/0.7195, allocations: 0.6873 MB / 1.212 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.7195, allocations: 63.41 kB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.72, allocations: 494.1 kB / 1.212 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.7201, allocations: 37.7 kB / 1.212 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.7203, allocations: 260 kB / 1.212 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.425e-05/0.7204, allocations: 126.3 kB / 1.213 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.7205, allocations: 90.03 kB / 1.213 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7207, allocations: 362.8 kB / 1.213 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.7211, allocations: 204.8 kB / 1.213 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.7216, allocations: 308.1 kB / 1.214 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.7226, allocations: 0.553 MB / 1.214 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7226, allocations: 3.938 kB / 1.214 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001147/0.7237, allocations: 0.656 MB / 1.215 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.7238, allocations: 61.75 kB / 1.215 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7238, allocations: 0 / 1.215 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.7238, allocations: 8 kB / 1.215 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.7242, allocations: 91.88 kB / 1.215 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.7243, allocations: 11.94 kB / 1.215 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.7248, allocations: 87.66 kB / 1.215 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.7248, allocations: 20.06 kB / 1.215 GB, free: 6.754 MB / 0.9669 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.000201/0.725, allocations: 193.6 kB / 1.215 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.7251, allocations: 55.34 kB / 1.215 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.7262, allocations: 0.541 MB / 1.216 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7262, allocations: 4 kB / 1.216 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7262, allocations: 0 / 1.216 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7262, allocations: 3.984 kB / 1.216 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.7282, allocations: 1.352 MB / 1.217 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7282, allocations: 448 / 1.217 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.7286, allocations: 79.88 kB / 1.217 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7286, allocations: 4 kB / 1.217 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.7287, allocations: 12 kB / 1.217 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.7287, allocations: 4 kB / 1.217 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.7287, allocations: 7.938 kB / 1.217 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.7302, allocations: 0.9457 MB / 1.218 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.7304, allocations: 168.3 kB / 1.218 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.7304, allocations: 15.98 kB / 1.218 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.7309, allocations: 39.95 kB / 1.218 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.731, allocations: 51.89 kB / 1.218 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.731, allocations: 19.98 kB / 1.218 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003452/0.7314, allocations: 342.8 kB / 1.219 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7314, allocations: 4 kB / 1.219 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004724/0.7319, allocations: 143.8 kB / 1.219 GB, free: 2.59 MB / 0.9669 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.002017/0.7339, allocations: 1.574 MB / 1.22 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.735, allocations: 0.5918 MB / 1.221 GB, free: 340 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.735, allocations: 0 / 1.221 GB, free: 340 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.7356, allocations: 298.4 kB / 1.221 GB, free: 44 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.7368, allocations: 289.8 kB / 1.222 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.7434, allocations: 5.243 MB / 1.227 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.7439, allocations: 0.8704 MB / 1.227 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000458/0.7444, allocations: 124.7 kB / 1.228 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.7446, allocations: 175.4 kB / 1.228 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.7446, allocations: 0 / 1.228 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.788/2.532, allocations: 15.48 MB / 1.243 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/2.533, allocations: 238.3 kB / 1.243 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/4.948, allocations: 3.875 kB / 1.243 GB, free: 9.664 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches