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.001643/0.001643, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001727/0.001727, allocations: 174.2 kB / 22.46 MB, free: 5.355 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.869/2.869, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.624e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.888/0.8881, allocations: 160.5 MB / 1.108 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006404/0.8945, allocations: 4.145 MB / 1.112 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007426/0.8952, allocations: 31.72 kB / 1.112 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008038/0.896, allocations: 261.3 kB / 1.112 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.8982, allocations: 0.7805 MB / 1.113 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.9028, allocations: 1.614 MB / 1.114 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.9049, allocations: 1.265 MB / 1.116 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006856/0.9056, allocations: 356.5 kB / 1.116 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.9071, allocations: 0.7507 MB / 1.117 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007388/0.9078, allocations: 366.4 kB / 1.117 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.9079, allocations: 45.78 kB / 1.117 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.9111, allocations: 1.288 MB / 1.118 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.9114, allocations: 202.8 kB / 1.119 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.9118, allocations: 208.8 kB / 1.119 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.915, allocations: 1.331 MB / 1.12 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.915, allocations: 1.219 kB / 1.12 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.915, allocations: 0 / 1.12 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.915, allocations: 0.7812 kB / 1.12 GB, free: 12.16 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.001887/0.9169, allocations: 0.9617 MB / 1.121 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.9169, allocations: 10.66 kB / 1.121 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.9191, allocations: 281 kB / 1.121 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007806/0.9199, allocations: 416.1 kB / 1.122 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.9199, allocations: 39.11 kB / 1.122 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.92, allocations: 44.52 kB / 1.122 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.9211, allocations: 0.5471 MB / 1.122 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.9211, allocations: 1.094 kB / 1.122 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.9212, allocations: 18.41 kB / 1.122 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.9212, allocations: 11.25 kB / 1.122 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.9223, allocations: 457.3 kB / 1.123 GB, free: 11.22 MB / 0.9981 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.002203/0.9245, allocations: 1.688 MB / 1.124 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.9255, allocations: 389.3 kB / 1.125 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.926, allocations: 214 kB / 1.125 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/0.9266, allocations: 92.73 kB / 1.125 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006456/0.9273, allocations: 294.5 kB / 1.125 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.264e-06/0.9273, allocations: 1.219 kB / 1.125 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.00187/0.9291, allocations: 0.6777 MB / 1.126 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.9292, allocations: 60.7 kB / 1.126 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.9297, allocations: 387.8 kB / 1.126 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.9297, allocations: 36.77 kB / 1.126 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.9299, allocations: 274.6 kB / 1.127 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.93, allocations: 133.3 kB / 1.127 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.9302, allocations: 92.5 kB / 1.127 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.9303, allocations: 362.6 kB / 1.127 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.9309, allocations: 251.1 kB / 1.128 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/0.9315, allocations: 499.2 kB / 1.128 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.9325, allocations: 0.5434 MB / 1.129 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.9325, allocations: 1.344 kB / 1.129 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001331/0.9339, allocations: 0.7038 MB / 1.129 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.9339, allocations: 62.22 kB / 1.129 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.9339, allocations: 7.594 kB / 1.129 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.9339, allocations: 6.188 kB / 1.129 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.9344, allocations: 95.34 kB / 1.129 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.9344, allocations: 12.48 kB / 1.129 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.935, allocations: 71.73 kB / 1.129 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.935, allocations: 27.67 kB / 1.129 GB, free: 8.508 MB / 0.9981 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.0002224/0.9352, allocations: 188.8 kB / 1.13 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.9353, allocations: 46.08 kB / 1.13 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.9366, allocations: 0.5345 MB / 1.13 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9366, allocations: 3.281 kB / 1.13 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9366, allocations: 2.922 kB / 1.13 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.9366, allocations: 1.875 kB / 1.13 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.9389, allocations: 1.229 MB / 1.131 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.9389, allocations: 3.25 kB / 1.131 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.9393, allocations: 71.92 kB / 1.132 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.9393, allocations: 6.375 kB / 1.132 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.9394, allocations: 14.56 kB / 1.132 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.9394, allocations: 9.938 kB / 1.132 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.9394, allocations: 4.312 kB / 1.132 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.9411, allocations: 0.9367 MB / 1.132 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.9413, allocations: 81.77 kB / 1.133 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.9414, allocations: 16.16 kB / 1.133 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.9418, allocations: 34.72 kB / 1.133 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.942, allocations: 52.8 kB / 1.133 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.942, allocations: 13.41 kB / 1.133 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003016/0.9423, allocations: 262 kB / 1.133 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9423, allocations: 1 kB / 1.133 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006724/0.943, allocations: 164 kB / 1.133 GB, free: 7.523 MB / 0.9981 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.000338/0.9433, allocations: 182.1 kB / 1.133 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.9446, allocations: 0.6245 MB / 1.134 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9446, allocations: 3.938 kB / 1.134 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.9453, allocations: 272 kB / 1.134 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.9466, allocations: 211.5 kB / 1.134 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.9487, allocations: 0.9858 MB / 1.135 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.9491, allocations: 267.6 kB / 1.136 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005365/0.9496, allocations: 106.9 kB / 1.136 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.9498, allocations: 44.03 kB / 1.136 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.9498, allocations: 0 / 1.136 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of Templates: time 0.01672/0.9665, allocations: 9.067 MB / 1.145 GB, free: 5.824 MB / 0.9981 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 -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/jenkins/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.550652660429478]