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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 77.23 kB / 19.76 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00242/0.00242, allocations: 160.8 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.673/2.673, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003525/0.003525, allocations: 63.91 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3925, allocations: 169.9 MB / 1.117 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8197/1.212, allocations: 160.6 MB / 1.274 GB, free: 3.746 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007285/1.22, allocations: 4.159 MB / 1.278 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009288/1.22, allocations: 28.25 kB / 1.278 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009791/1.221, allocations: 253.3 kB / 1.279 GB, free: 0.75 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002722/1.224, allocations: 0.7677 MB / 1.279 GB, free: 340 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004888/1.229, allocations: 1.548 MB / 1.281 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002167/1.231, allocations: 1.266 MB / 1.282 GB, free: 15.01 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006555/1.232, allocations: 357.5 kB / 1.282 GB, free: 14.86 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/1.233, allocations: 0.6022 MB / 1.283 GB, free: 14.59 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/1.234, allocations: 406.3 kB / 1.283 GB, free: 14.44 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-05/1.234, allocations: 45.47 kB / 1.284 GB, free: 14.44 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/1.237, allocations: 1.266 MB / 1.285 GB, free: 13.96 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/1.237, allocations: 190.5 kB / 1.285 GB, free: 13.88 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004085/1.237, allocations: 259.5 kB / 1.285 GB, free: 13.75 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002819/1.24, allocations: 1.25 MB / 1.286 GB, free: 13.34 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.24, allocations: 0 / 1.286 GB, free: 13.34 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.503e-06/1.24, allocations: 4 kB / 1.286 GB, free: 13.33 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.24, allocations: 0 / 1.286 GB, free: 13.33 MB / 1.139 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.002035/1.242, allocations: 0.9622 MB / 1.287 GB, free: 12.65 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/1.242, allocations: 9 kB / 1.287 GB, free: 12.65 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/1.244, allocations: 292.7 kB / 1.288 GB, free: 12.59 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009066/1.245, allocations: 408.4 kB / 1.288 GB, free: 12.32 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/1.245, allocations: 35.23 kB / 1.288 GB, free: 12.31 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/1.245, allocations: 46.53 kB / 1.288 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/1.247, allocations: 0.5479 MB / 1.289 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.247, allocations: 0 / 1.289 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/1.247, allocations: 17.14 kB / 1.289 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/1.247, allocations: 22.39 kB / 1.289 GB, free: 12.01 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/1.248, allocations: 455.6 kB / 1.289 GB, free: 11.89 MB / 1.139 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.002661/1.25, allocations: 1.679 MB / 1.291 GB, free: 10.68 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.251, allocations: 391.5 kB / 1.291 GB, free: 10.56 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/1.252, allocations: 218 kB / 1.291 GB, free: 10.5 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/1.253, allocations: 90.61 kB / 1.291 GB, free: 10.49 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000699/1.253, allocations: 294.9 kB / 1.292 GB, free: 10.38 MB / 1.139 GB Notification: Performance of pre-optimization done (n=37): time 2.575e-06/1.253, allocations: 0 / 1.292 GB, free: 10.38 MB / 1.139 GB Notification: Performance of matching and sorting (n=37): time 0.001947/1.255, allocations: 0.6886 MB / 1.292 GB, free: 10.16 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/1.255, allocations: 61.77 kB / 1.292 GB, free: 10.09 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/1.256, allocations: 383.8 kB / 1.293 GB, free: 9.902 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/1.256, allocations: 33.45 kB / 1.293 GB, free: 9.867 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/1.256, allocations: 276.6 kB / 1.293 GB, free: 9.645 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/1.256, allocations: 130.9 kB / 1.293 GB, free: 9.543 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/1.256, allocations: 91.2 kB / 1.293 GB, free: 9.496 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.257, allocations: 360.2 kB / 1.294 GB, free: 9.16 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/1.257, allocations: 249.8 kB / 1.294 GB, free: 9.043 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/1.258, allocations: 0.4932 MB / 1.294 GB, free: 8.652 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/1.259, allocations: 0.5502 MB / 1.295 GB, free: 8.336 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/1.259, allocations: 1.219 kB / 1.295 GB, free: 8.336 MB / 1.139 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001517/1.261, allocations: 0.7054 MB / 1.296 GB, free: 7.988 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/1.261, allocations: 69.27 kB / 1.296 GB, free: 7.918 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.261, allocations: 3 kB / 1.296 GB, free: 7.918 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.261, allocations: 7.266 kB / 1.296 GB, free: 7.918 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/1.261, allocations: 95.62 kB / 1.296 GB, free: 7.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.261, allocations: 9.594 kB / 1.296 GB, free: 7.906 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/1.262, allocations: 67.59 kB / 1.296 GB, free: 7.879 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/1.262, allocations: 25.42 kB / 1.296 GB, free: 7.871 MB / 1.139 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.0002647/1.262, allocations: 188.1 kB / 1.296 GB, free: 7.719 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/1.262, allocations: 53.55 kB / 1.296 GB, free: 7.688 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/1.263, allocations: 0.5289 MB / 1.297 GB, free: 7.496 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.263, allocations: 3.281 kB / 1.297 GB, free: 7.496 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.263, allocations: 1.125 kB / 1.297 GB, free: 7.496 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.263, allocations: 2.203 kB / 1.297 GB, free: 7.496 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/1.266, allocations: 1.225 MB / 1.298 GB, free: 6.852 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/1.266, allocations: 4.5 kB / 1.298 GB, free: 6.852 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/1.267, allocations: 75.52 kB / 1.298 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/1.267, allocations: 5.312 kB / 1.298 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/1.267, allocations: 16.39 kB / 1.298 GB, free: 6.836 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/1.267, allocations: 6.312 kB / 1.298 GB, free: 6.836 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.267, allocations: 8.188 kB / 1.298 GB, free: 6.832 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/1.269, allocations: 0.9224 MB / 1.299 GB, free: 6.355 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/1.269, allocations: 82.55 kB / 1.299 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/1.269, allocations: 20.66 kB / 1.299 GB, free: 6.301 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/1.27, allocations: 39.09 kB / 1.299 GB, free: 6.293 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.27, allocations: 48.19 kB / 1.299 GB, free: 6.281 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/1.27, allocations: 15.41 kB / 1.299 GB, free: 6.277 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003883/1.27, allocations: 265 kB / 1.299 GB, free: 6.148 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/1.27, allocations: 0 / 1.299 GB, free: 6.148 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008074/1.271, allocations: 164 kB / 1.299 GB, free: 6.113 MB / 1.139 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.0004123/1.271, allocations: 182.6 kB / 1.3 GB, free: 5.992 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001401/1.273, allocations: 0.6221 MB / 1.3 GB, free: 5.676 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.273, allocations: 3.938 kB / 1.3 GB, free: 5.672 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007157/1.274, allocations: 276.4 kB / 1.3 GB, free: 5.586 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.275, allocations: 203.2 kB / 1.301 GB, free: 5.539 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/1.277, allocations: 1.04 MB / 1.302 GB, free: 4.863 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/1.277, allocations: 273 kB / 1.302 GB, free: 4.758 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003998/1.277, allocations: 106.5 kB / 1.302 GB, free: 4.738 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/1.278, allocations: 42.11 kB / 1.302 GB, free: 4.727 MB / 1.139 GB Notification: Performance of SimCode: time 7.92e-07/1.278, allocations: 0 / 1.302 GB, free: 4.727 MB / 1.139 GB Notification: Performance of Templates: time 0.01719/1.295, allocations: 9.132 MB / 1.311 GB, free: 420 kB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.496932164067402]