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.001689/0.001689, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.743/2.743, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6093, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1838/0.7932, allocations: 181.8 MB / 1.195 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005674/0.7989, allocations: 4.462 MB / 1.199 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/0.7993, allocations: 19.88 kB / 1.199 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.7999, allocations: 254 kB / 1.2 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.8015, allocations: 0.7502 MB / 1.2 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.8046, allocations: 1.517 MB / 1.202 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.8061, allocations: 1.25 MB / 1.203 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006742/0.8068, allocations: 449.3 kB / 1.203 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009631/0.8077, allocations: 0.5761 MB / 1.204 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004969/0.8083, allocations: 406.2 kB / 1.204 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.8083, allocations: 44 kB / 1.204 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.811, allocations: 1.543 MB / 1.206 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.8112, allocations: 183.5 kB / 1.206 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.8114, allocations: 302.5 kB / 1.206 GB, free: 292 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.8131, allocations: 1.301 MB / 1.208 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8131, allocations: 0 / 1.208 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8131, allocations: 0 / 1.208 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.8131, allocations: 0 / 1.208 GB, free: 14.98 MB / 0.9669 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.001617/0.8147, allocations: 1.017 MB / 1.209 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.8148, allocations: 12.03 kB / 1.209 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.386e-05/0.8149, allocations: 78.53 kB / 1.209 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.8168, allocations: 282.9 kB / 1.209 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.8175, allocations: 449.4 kB / 1.209 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.8176, allocations: 33 kB / 1.209 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.8177, allocations: 40 kB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/0.8187, allocations: 0.5468 MB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.8187, allocations: 4 kB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.8187, allocations: 19.94 kB / 1.21 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.8187, allocations: 8 kB / 1.21 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.8198, allocations: 459.5 kB / 1.21 GB, free: 11.91 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.002416/0.8222, allocations: 2.131 MB / 1.213 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009782/0.8232, allocations: 422.3 kB / 1.213 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.8237, allocations: 220.7 kB / 1.213 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006639/0.8244, allocations: 400.3 kB / 1.214 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005947/0.825, allocations: 290.9 kB / 1.214 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.825, allocations: 0 / 1.214 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001769/0.8268, allocations: 0.695 MB / 1.215 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.8268, allocations: 59.41 kB / 1.215 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.8274, allocations: 494.1 kB / 1.215 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.8274, allocations: 33.7 kB / 1.215 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.8276, allocations: 264 kB / 1.215 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/0.8277, allocations: 122.3 kB / 1.215 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.8279, allocations: 94.03 kB / 1.216 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.828, allocations: 362.8 kB / 1.216 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.8285, allocations: 196.8 kB / 1.216 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.8291, allocations: 320.1 kB / 1.216 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.8301, allocations: 0.5491 MB / 1.217 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.8302, allocations: 3.938 kB / 1.217 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001257/0.8314, allocations: 0.6444 MB / 1.218 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.8315, allocations: 71.33 kB / 1.218 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.8315, allocations: 4 kB / 1.218 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8315, allocations: 4 kB / 1.218 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.832, allocations: 95.88 kB / 1.218 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.832, allocations: 4.25 kB / 1.218 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.8325, allocations: 79.48 kB / 1.218 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.8325, allocations: 20 kB / 1.218 GB, free: 4.008 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.0002129/0.8328, allocations: 193.6 kB / 1.218 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.8328, allocations: 59.33 kB / 1.218 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.834, allocations: 0.5371 MB / 1.219 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.834, allocations: 4 kB / 1.219 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8341, allocations: 0 / 1.219 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.8341, allocations: 7.922 kB / 1.219 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.8362, allocations: 1.35 MB / 1.22 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.8362, allocations: 4 kB / 1.22 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.8367, allocations: 76.33 kB / 1.22 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.8367, allocations: 8 kB / 1.22 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.8367, allocations: 8 kB / 1.22 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-06/0.8367, allocations: 11.98 kB / 1.22 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.8367, allocations: 7.938 kB / 1.22 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.8384, allocations: 0.934 MB / 1.221 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.8386, allocations: 172.3 kB / 1.221 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.8387, allocations: 8 kB / 1.221 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.8392, allocations: 39.95 kB / 1.221 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.8393, allocations: 47.83 kB / 1.221 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.8393, allocations: 20.06 kB / 1.221 GB, free: 340 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004014/0.8397, allocations: 346.9 kB / 1.222 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8397, allocations: 0 / 1.222 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005342/0.8403, allocations: 151.8 kB / 1.222 GB, free: 15.85 MB / 0.9825 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.002223/0.8425, allocations: 1.551 MB / 1.223 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.8438, allocations: 0.6002 MB / 1.224 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8438, allocations: 4 kB / 1.224 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006687/0.8444, allocations: 284.8 kB / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.8459, allocations: 309.3 kB / 1.224 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.8535, allocations: 5.101 MB / 1.229 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.854, allocations: 0.8665 MB / 1.23 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005226/0.8546, allocations: 124.7 kB / 1.23 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.8549, allocations: 179.3 kB / 1.23 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.8549, allocations: 0 / 1.23 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.8923, allocations: 15.72 MB / 1.246 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/9.08, allocations: 4.562 kB / 1.246 GB, free: 7.031 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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