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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00132/0.001321, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001373/0.001373, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.494/2.494, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 66.97 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3312, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7636/1.095, allocations: 181.8 MB / 1.242 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00648/1.101, allocations: 4.448 MB / 1.246 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008499/1.102, allocations: 19.88 kB / 1.246 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007924/1.103, allocations: 250.1 kB / 1.246 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/1.105, allocations: 0.7658 MB / 1.247 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/1.109, allocations: 1.503 MB / 1.249 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001776/1.111, allocations: 1.258 MB / 1.25 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/1.112, allocations: 445.3 kB / 1.25 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009634/1.113, allocations: 0.5721 MB / 1.251 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/1.113, allocations: 406.4 kB / 1.251 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.891e-05/1.113, allocations: 48 kB / 1.251 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/1.116, allocations: 1.535 MB / 1.253 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/1.116, allocations: 191.4 kB / 1.253 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003498/1.117, allocations: 302.5 kB / 1.253 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002462/1.119, allocations: 1.293 MB / 1.254 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.119, allocations: 0 / 1.254 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/1.119, allocations: 0 / 1.254 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.538e-06/1.119, allocations: 4 kB / 1.254 GB, free: 6.312 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.001787/1.121, allocations: 1.022 MB / 1.255 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.121, allocations: 8.031 kB / 1.255 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/1.123, allocations: 287 kB / 1.256 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/1.124, allocations: 441.4 kB / 1.256 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/1.124, allocations: 33 kB / 1.256 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/1.124, allocations: 44 kB / 1.256 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009955/1.125, allocations: 0.5468 MB / 1.257 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.125, allocations: 0 / 1.257 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/1.125, allocations: 19.98 kB / 1.257 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/1.125, allocations: 15.94 kB / 1.257 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.126, allocations: 455.6 kB / 1.257 GB, free: 3.336 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.002501/1.128, allocations: 2.124 MB / 1.259 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009389/1.129, allocations: 406.4 kB / 1.26 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/1.13, allocations: 229.3 kB / 1.26 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/1.131, allocations: 400.3 kB / 1.26 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006229/1.131, allocations: 290.8 kB / 1.261 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 2.304e-06/1.131, allocations: 3.938 kB / 1.261 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001801/1.133, allocations: 0.6859 MB / 1.261 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.133, allocations: 63.41 kB / 1.261 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/1.134, allocations: 494.1 kB / 1.262 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/1.134, allocations: 37.7 kB / 1.262 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/1.134, allocations: 275.9 kB / 1.262 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/1.134, allocations: 122.3 kB / 1.262 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/1.134, allocations: 90.03 kB / 1.262 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.134, allocations: 366.8 kB / 1.263 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/1.135, allocations: 196.8 kB / 1.263 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/1.135, allocations: 316 kB / 1.263 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009958/1.136, allocations: 0.5415 MB / 1.264 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.136, allocations: 4 kB / 1.264 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001259/1.138, allocations: 0.656 MB / 1.264 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/1.138, allocations: 59.41 kB / 1.264 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.138, allocations: 4 kB / 1.264 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.138, allocations: 4 kB / 1.264 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/1.138, allocations: 99.81 kB / 1.264 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.138, allocations: 4 kB / 1.264 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/1.139, allocations: 75.48 kB / 1.265 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/1.139, allocations: 27.98 kB / 1.265 GB, free: 11.43 MB / 0.9825 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.0002391/1.139, allocations: 195.6 kB / 1.265 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/1.139, allocations: 67.2 kB / 1.265 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/1.14, allocations: 0.5329 MB / 1.265 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.14, allocations: 4 kB / 1.265 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.14, allocations: 0 / 1.265 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.14, allocations: 0 / 1.265 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/1.143, allocations: 1.354 MB / 1.267 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.143, allocations: 4 kB / 1.267 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/1.143, allocations: 71.83 kB / 1.267 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.143, allocations: 4.438 kB / 1.267 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/1.143, allocations: 15.98 kB / 1.267 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.143, allocations: 11.94 kB / 1.267 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.143, allocations: 4 kB / 1.267 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/1.145, allocations: 0.9333 MB / 1.268 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/1.145, allocations: 176.3 kB / 1.268 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/1.145, allocations: 12 kB / 1.268 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/1.146, allocations: 40.02 kB / 1.268 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/1.146, allocations: 47.83 kB / 1.268 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/1.146, allocations: 21.86 kB / 1.268 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004061/1.146, allocations: 346.8 kB / 1.268 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.146, allocations: 4 kB / 1.268 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005662/1.147, allocations: 151.8 kB / 1.268 GB, free: 7.262 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.0004286/1.147, allocations: 196 kB / 1.269 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001221/1.148, allocations: 0.5999 MB / 1.269 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.148, allocations: 4 kB / 1.269 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005883/1.149, allocations: 269.2 kB / 1.269 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.15, allocations: 283 kB / 1.27 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/1.152, allocations: 1.082 MB / 1.271 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/1.153, allocations: 0.8665 MB / 1.272 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/1.153, allocations: 47.44 kB / 1.272 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/1.153, allocations: 0 / 1.272 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.01306/1.166, allocations: 9.012 MB / 1.28 GB, free: 10.9 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches