Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.007097/0.007097, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001758/0.001758, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 61.19 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.899/1.201, allocations: 181.8 MB / 1.265 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006499/1.208, allocations: 4.451 MB / 1.27 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007219/1.209, allocations: 21.47 kB / 1.27 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007072/1.209, allocations: 254.6 kB / 1.27 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/1.212, allocations: 0.749 MB / 1.271 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004593/1.216, allocations: 1.523 MB / 1.272 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00268/1.219, allocations: 1.257 MB / 1.273 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/1.22, allocations: 452 kB / 1.274 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/1.221, allocations: 0.5793 MB / 1.274 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/1.222, allocations: 409.3 kB / 1.275 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/1.222, allocations: 46.47 kB / 1.275 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/1.226, allocations: 1.544 MB / 1.276 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/1.227, allocations: 188.3 kB / 1.277 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005665/1.227, allocations: 306 kB / 1.277 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003536/1.231, allocations: 1.303 MB / 1.278 GB, free: 3.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.231, allocations: 2.094 kB / 1.278 GB, free: 3.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.196e-06/1.231, allocations: 0.625 kB / 1.278 GB, free: 3.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.035e-05/1.231, allocations: 0.5625 kB / 1.278 GB, free: 3.27 MB / 1.014 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.001938/1.233, allocations: 1.018 MB / 1.279 GB, free: 2.609 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.233, allocations: 9.344 kB / 1.279 GB, free: 2.609 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/1.235, allocations: 290.4 kB / 1.279 GB, free: 2.574 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/1.236, allocations: 469.9 kB / 1.28 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/1.236, allocations: 31.8 kB / 1.28 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/1.236, allocations: 43.53 kB / 1.28 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/1.237, allocations: 0.5487 MB / 1.281 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.237, allocations: 2.812 kB / 1.281 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/1.238, allocations: 20.94 kB / 1.281 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/1.238, allocations: 10.72 kB / 1.281 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/1.239, allocations: 455.2 kB / 1.281 GB, free: 2.207 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.003094/1.242, allocations: 2.121 MB / 1.283 GB, free: 16.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/1.243, allocations: 409.7 kB / 1.283 GB, free: 16.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/1.244, allocations: 230.2 kB / 1.284 GB, free: 16.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/1.244, allocations: 400 kB / 1.284 GB, free: 16.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008346/1.245, allocations: 289.2 kB / 1.284 GB, free: 16.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 2.315e-06/1.245, allocations: 0.7812 kB / 1.284 GB, free: 16.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.002078/1.247, allocations: 0.69 MB / 1.285 GB, free: 16.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/1.247, allocations: 61.86 kB / 1.285 GB, free: 16.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/1.248, allocations: 497.1 kB / 1.286 GB, free: 16.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/1.248, allocations: 36.08 kB / 1.286 GB, free: 16.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/1.248, allocations: 257 kB / 1.286 GB, free: 16.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.248, allocations: 125 kB / 1.286 GB, free: 16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.248, allocations: 94.3 kB / 1.286 GB, free: 15.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002062/1.249, allocations: 365.8 kB / 1.286 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/1.249, allocations: 194.9 kB / 1.287 GB, free: 15.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/1.25, allocations: 319.2 kB / 1.287 GB, free: 15.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/1.251, allocations: 0.5374 MB / 1.287 GB, free: 15.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.251, allocations: 1.75 kB / 1.287 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001375/1.252, allocations: 0.6499 MB / 1.288 GB, free: 15.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/1.252, allocations: 61.97 kB / 1.288 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.252, allocations: 3.5 kB / 1.288 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.252, allocations: 8.562 kB / 1.288 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/1.253, allocations: 98.22 kB / 1.288 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.253, allocations: 7 kB / 1.288 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/1.254, allocations: 83.34 kB / 1.288 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/1.254, allocations: 24.06 kB / 1.288 GB, free: 15.16 MB / 1.029 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.0003364/1.254, allocations: 191.6 kB / 1.288 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/1.254, allocations: 53.94 kB / 1.289 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/1.255, allocations: 0.534 MB / 1.289 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.255, allocations: 9.438 kB / 1.289 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.255, allocations: 3.938 kB / 1.289 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.255, allocations: 3.172 kB / 1.289 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/1.258, allocations: 1.353 MB / 1.29 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.258, allocations: 4.562 kB / 1.29 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/1.259, allocations: 75.03 kB / 1.29 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/1.259, allocations: 5.859 kB / 1.29 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/1.259, allocations: 12.19 kB / 1.29 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/1.259, allocations: 9.453 kB / 1.29 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.259, allocations: 7.406 kB / 1.29 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/1.26, allocations: 0.9384 MB / 1.291 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/1.261, allocations: 173.9 kB / 1.292 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-05/1.261, allocations: 10.3 kB / 1.292 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/1.261, allocations: 39.08 kB / 1.292 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/1.261, allocations: 52.97 kB / 1.292 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/1.262, allocations: 12.84 kB / 1.292 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004988/1.262, allocations: 345.8 kB / 1.292 GB, free: 14.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.262, allocations: 0.9062 kB / 1.292 GB, free: 14.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007242/1.263, allocations: 153.5 kB / 1.292 GB, free: 14.02 MB / 1.029 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.0004965/1.263, allocations: 206.4 kB / 1.292 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001225/1.264, allocations: 0.5845 MB / 1.293 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.265, allocations: 3.531 kB / 1.293 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006658/1.265, allocations: 290 kB / 1.293 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.267, allocations: 284 kB / 1.293 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/1.269, allocations: 1.047 MB / 1.295 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/1.269, allocations: 0.8652 MB / 1.295 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000514/1.27, allocations: 124.5 kB / 1.295 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/1.27, allocations: 49.77 kB / 1.296 GB, free: 12.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/1.27, allocations: 0.9375 kB / 1.296 GB, free: 12.52 MB / 1.029 GB Notification: Performance of Templates: time 0.0194/1.289, allocations: 11.06 MB / 1.306 GB, free: 11.87 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches