Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winEas.y|winSou.y|winWes.y|winNor.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winEas.y|winSou.y|winWes.y|winNor.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 114.7 kB / 16.42 MB, free: 6.508 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.001713/0.001713, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.57/2.57, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.88 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7473, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.006293/0.7536, allocations: 5.254 MB / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00473/0.7584, allocations: 3.01 MB / 1.234 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.7588, allocations: 16 kB / 1.234 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.7591, allocations: 130.4 kB / 1.235 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.7607, allocations: 0.6278 MB / 1.235 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.7614, allocations: 0.554 MB / 1.236 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.7629, allocations: 1.759 MB / 1.237 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006326/0.7636, allocations: 0.5082 MB / 1.238 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007128/0.7643, allocations: 0.6734 MB / 1.239 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008051/0.7651, allocations: 0.7296 MB / 1.239 GB, free: 192 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.7653, allocations: 192 kB / 1.239 GB, free: 0 / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000609/0.7659, allocations: 379.8 kB / 1.24 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.7662, allocations: 378.8 kB / 1.24 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006428/0.7669, allocations: 0.7349 MB / 1.241 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.7689, allocations: 2.087 MB / 1.243 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7689, allocations: 0 / 1.243 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.376e-06/0.7689, allocations: 0 / 1.243 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.206e-05/0.7689, allocations: 3.938 kB / 1.243 GB, free: 12.43 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: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.003735/0.7727, allocations: 1.679 MB / 1.245 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.7727, allocations: 12.03 kB / 1.245 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.773, allocations: 136.1 kB / 1.245 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.7749, allocations: 1.038 MB / 1.246 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.15e-05/0.775, allocations: 74.31 kB / 1.246 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.7751, allocations: 100.1 kB / 1.246 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.7769, allocations: 1.05 MB / 1.247 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.7769, allocations: 7.938 kB / 1.247 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.777, allocations: 36 kB / 1.247 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.7771, allocations: 24 kB / 1.247 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.7788, allocations: 0.8521 MB / 1.248 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004989/0.7838, allocations: 3.194 MB / 1.251 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/0.7881, allocations: 1.438 MB / 1.252 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008614/0.789, allocations: 498.5 kB / 1.253 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.786e-05/0.7891, allocations: 27.95 kB / 1.253 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/0.7903, allocations: 0.7568 MB / 1.254 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=116): time 3.136e-06/0.7904, allocations: 0 / 1.254 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=116): time 0.003023/0.7934, allocations: 1.512 MB / 1.255 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.7935, allocations: 140.5 kB / 1.255 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009485/0.7944, allocations: 0.7901 MB / 1.256 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-05/0.7945, allocations: 49.69 kB / 1.256 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.7948, allocations: 417.6 kB / 1.256 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.7951, allocations: 384.7 kB / 1.257 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.7954, allocations: 206.8 kB / 1.257 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7956, allocations: 341.9 kB / 1.257 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/0.7964, allocations: 398.5 kB / 1.258 GB, free: 13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008828/0.7973, allocations: 0.516 MB / 1.258 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.7989, allocations: 0.8616 MB / 1.259 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7989, allocations: 0 / 1.259 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002104/0.801, allocations: 1.106 MB / 1.26 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.801, allocations: 15.94 kB / 1.26 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.801, allocations: 3.984 kB / 1.26 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.8011, allocations: 8 kB / 1.26 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.8021, allocations: 219.7 kB / 1.26 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.8021, allocations: 11.88 kB / 1.26 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.8031, allocations: 151.2 kB / 1.26 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/0.8032, allocations: 51.95 kB / 1.261 GB, free: 9.996 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 40 (winEas.proShaLen.solAzi.outsidePolarCircle,winEas.proShaLen.decAng.tNext,$PRE.winEas.proShaLen.decAng.tNext,winEas.proShaLen.eqnTim.tNext,$PRE.winEas.proShaLen.eqnTim.tNext,winEas.proShaLen.locTim.tNext,$PRE.winEas.proShaLen.locTim.tNext,$whenCondition10,$whenCondition11,$whenCondition12,winSou.proShaLen.solAzi.outsidePolarCircle,winSou.proShaLen.decAng.tNext,$PRE.winSou.proShaLen.decAng.tNext,winSou.proShaLen.eqnTim.tNext,$PRE.winSou.proShaLen.eqnTim.tNext,winSou.proShaLen.locTim.tNext,$PRE.winSou.proShaLen.locTim.tNext,$whenCondition7,$whenCondition8,$whenCondition9,winWes.proShaLen.solAzi.outsidePolarCircle,winWes.proShaLen.decAng.tNext,$PRE.winWes.proShaLen.decAng.tNext,winWes.proShaLen.eqnTim.tNext,$PRE.winWes.proShaLen.eqnTim.tNext,winWes.proShaLen.locTim.tNext,$PRE.winWes.proShaLen.locTim.tNext,$whenCondition4,$whenCondition5,$whenCondition6,winNor.proShaLen.solAzi.outsidePolarCircle,winNor.proShaLen.decAng.tNext,$PRE.winNor.proShaLen.decAng.tNext,winNor.proShaLen.eqnTim.tNext,$PRE.winNor.proShaLen.eqnTim.tNext,winNor.proShaLen.locTim.tNext,$PRE.winNor.proShaLen.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * 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.0004264/0.8036, allocations: 307.5 kB / 1.261 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.8038, allocations: 111.3 kB / 1.261 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.8068, allocations: 1.525 MB / 1.262 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.8068, allocations: 7.969 kB / 1.262 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.8068, allocations: 0 / 1.262 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/0.8073, allocations: 375.8 kB / 1.263 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.8074, allocations: 35.95 kB / 1.263 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.8083, allocations: 75.92 kB / 1.263 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.8085, allocations: 119.8 kB / 1.263 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002691/0.8112, allocations: 1.644 MB / 1.265 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00243/0.8136, allocations: 1.701 MB / 1.266 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009974/0.8146, allocations: 0.5933 MB / 1.267 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006829/0.8153, allocations: 0.5693 MB / 1.267 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of Backend: time 4.41e-07/0.8153, allocations: 0 / 1.267 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.8177, allocations: 0.8696 MB / 1.268 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002352/0.82, allocations: 2.063 MB / 1.27 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of Templates: time 0.0251/0.8451, allocations: 16.29 MB / 1.286 GB, free: 15.78 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches