Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, 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.001975/0.001975, allocations: 191.2 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.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.25 kB / 0.9116 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3465, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2005/0.547, allocations: 179.4 MB / 1.243 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006774/0.5538, allocations: 4.43 MB / 1.247 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008797/0.5547, allocations: 15.88 kB / 1.247 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009117/0.5557, allocations: 206.7 kB / 1.247 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.558, allocations: 0.7118 MB / 1.248 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.7002/1.258, allocations: 1.4 MB / 1.25 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002304/1.26, allocations: 1.258 MB / 1.251 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007376/1.261, allocations: 428.4 kB / 1.251 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/1.263, allocations: 0.578 MB / 1.252 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006803/1.263, allocations: 430.2 kB / 1.252 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/1.263, allocations: 45.72 kB / 1.252 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/1.267, allocations: 1.602 MB / 1.254 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/1.267, allocations: 193.8 kB / 1.254 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004033/1.268, allocations: 298.8 kB / 1.254 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/1.27, allocations: 1.409 MB / 1.256 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.27, allocations: 1.203 kB / 1.256 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/1.27, allocations: 0 / 1.256 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.27, allocations: 2.156 kB / 1.256 GB, free: 7.223 MB / 0.9981 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.002187/1.272, allocations: 1.019 MB / 1.257 GB, free: 22.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.273, allocations: 10.06 kB / 1.257 GB, free: 22.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/1.275, allocations: 279.3 kB / 1.257 GB, free: 22.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/1.275, allocations: 448.5 kB / 1.257 GB, free: 22.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/1.275, allocations: 31.14 kB / 1.257 GB, free: 22.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/1.276, allocations: 47.91 kB / 1.257 GB, free: 22.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009875/1.277, allocations: 0.549 MB / 1.258 GB, free: 22.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.277, allocations: 0.9062 kB / 1.258 GB, free: 22.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/1.277, allocations: 20.88 kB / 1.258 GB, free: 22.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/1.277, allocations: 13.22 kB / 1.258 GB, free: 22.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009643/1.278, allocations: 456.6 kB / 1.258 GB, free: 22.18 MB / 1.014 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.002638/1.28, allocations: 2.122 MB / 1.26 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009658/1.281, allocations: 408.8 kB / 1.261 GB, free: 20.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/1.282, allocations: 228.9 kB / 1.261 GB, free: 20.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006854/1.282, allocations: 399.7 kB / 1.261 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006284/1.283, allocations: 295.1 kB / 1.262 GB, free: 20.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.544e-06/1.283, allocations: 1.203 kB / 1.262 GB, free: 20.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001782/1.285, allocations: 0.6875 MB / 1.262 GB, free: 20.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/1.285, allocations: 59.05 kB / 1.262 GB, free: 20.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/1.285, allocations: 494.4 kB / 1.263 GB, free: 20.22 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/1.285, allocations: 39.27 kB / 1.263 GB, free: 20.19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/1.286, allocations: 258 kB / 1.263 GB, free: 20.06 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-05/1.286, allocations: 128.4 kB / 1.263 GB, free: 19.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.286, allocations: 89.72 kB / 1.263 GB, free: 19.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.286, allocations: 367 kB / 1.264 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/1.287, allocations: 195.6 kB / 1.264 GB, free: 19.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/1.287, allocations: 320.4 kB / 1.264 GB, free: 19.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/1.288, allocations: 0.5495 MB / 1.265 GB, free: 19.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.288, allocations: 0 / 1.265 GB, free: 19.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001272/1.289, allocations: 0.6498 MB / 1.265 GB, free: 19.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/1.289, allocations: 61.33 kB / 1.265 GB, free: 19.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.289, allocations: 4.969 kB / 1.265 GB, free: 19.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.29, allocations: 4.5 kB / 1.265 GB, free: 19.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/1.29, allocations: 99.75 kB / 1.266 GB, free: 19.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.29, allocations: 10.73 kB / 1.266 GB, free: 19.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/1.291, allocations: 83.66 kB / 1.266 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/1.291, allocations: 23.8 kB / 1.266 GB, free: 19.14 MB / 1.014 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.0002255/1.291, allocations: 200 kB / 1.266 GB, free: 19.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/1.291, allocations: 51.09 kB / 1.266 GB, free: 19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/1.292, allocations: 0.5319 MB / 1.266 GB, free: 18.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/1.292, allocations: 11.27 kB / 1.266 GB, free: 18.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.292, allocations: 0.9688 kB / 1.266 GB, free: 18.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.292, allocations: 5.859 kB / 1.266 GB, free: 18.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/1.295, allocations: 1.349 MB / 1.268 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.295, allocations: 3.375 kB / 1.268 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/1.295, allocations: 73.73 kB / 1.268 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/1.295, allocations: 3.312 kB / 1.268 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/1.295, allocations: 18.23 kB / 1.268 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/1.295, allocations: 8.422 kB / 1.268 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.295, allocations: 3.781 kB / 1.268 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/1.297, allocations: 0.942 MB / 1.269 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/1.297, allocations: 177.4 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/1.297, allocations: 10.11 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/1.298, allocations: 41.34 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.298, allocations: 53.38 kB / 1.269 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/1.298, allocations: 17.86 kB / 1.269 GB, free: 18.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004802/1.298, allocations: 344.3 kB / 1.269 GB, free: 18.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.733e-06/1.298, allocations: 1.062 kB / 1.269 GB, free: 18.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006796/1.299, allocations: 154.4 kB / 1.27 GB, free: 18 MB / 1.014 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.0005041/1.3, allocations: 199.1 kB / 1.27 GB, free: 17.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001336/1.301, allocations: 0.5979 MB / 1.27 GB, free: 17.78 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.301, allocations: 0.7812 kB / 1.27 GB, free: 17.78 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000728/1.302, allocations: 290.2 kB / 1.271 GB, free: 17.78 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.303, allocations: 283.9 kB / 1.271 GB, free: 17.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/1.305, allocations: 1.213 MB / 1.272 GB, free: 17.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/1.306, allocations: 0.8654 MB / 1.273 GB, free: 16.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006017/1.306, allocations: 127.2 kB / 1.273 GB, free: 16.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/1.306, allocations: 46.16 kB / 1.273 GB, free: 16.38 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.307, allocations: 0.8125 kB / 1.273 GB, free: 16.38 MB / 1.014 GB Notification: Performance of Templates: time 0.02595/1.332, allocations: 10.61 MB / 1.283 GB, free: 15.9 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches