Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002992/0.0002992, allocations: 0 / 0, free: 0 / 0 " [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.0002236/0.0002236, allocations: 0 / 0, free: 0 / 0 " [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 0.1615/0.1615, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.3718/0.3718, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|winEas.y|winSou.y|winWes.y|winNor.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|winEas.y|winSou.y|winWes.y|winNor.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.528e-05/3.716e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.003997/0.004034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003766/0.0078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.008052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000192/0.008244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001008/0.009252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.009873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0007638/0.01064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.01099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.01187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.01225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.01235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.01266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.01285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.01314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00102/0.01416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.208e-05/0.01425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.483e-06/0.01425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.561e-05/0.01427, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001502/0.01577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.137e-05/0.01584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000701/0.01654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.01759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.01773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.01783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.01854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.01855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.01861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.01862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.01897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.02088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.0221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.0223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.02235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004406/0.02279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=136): time 4.99e-06/0.02279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=136): time 0.0006871/0.02348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.02352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.02381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.807e-05/0.02391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.02402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.02417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.02435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.369e-05/0.0244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.02455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.02477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.02517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.02518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=168) (initialization): time 0.0005305/0.02571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.02572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.02573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.02574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.02616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.02618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.0264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.02645, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 64 (winNor.proShaLen.solAzi.outsidePolarCircle,winNor.proShaLen.decAng.k,$PRE.winNor.proShaLen.decAng.k,winNor.proShaLen.decAng.tNext,$PRE.winNor.proShaLen.decAng.tNext,winNor.proShaLen.eqnTim.k,$PRE.winNor.proShaLen.eqnTim.k,winNor.proShaLen.eqnTim.tNext,$PRE.winNor.proShaLen.eqnTim.tNext,winNor.proShaLen.locTim.k,$PRE.winNor.proShaLen.locTim.k,winNor.proShaLen.locTim.tNext,$PRE.winNor.proShaLen.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,winWes.proShaLen.solAzi.outsidePolarCircle,winWes.proShaLen.decAng.k,$PRE.winWes.proShaLen.decAng.k,winWes.proShaLen.decAng.tNext,$PRE.winWes.proShaLen.decAng.tNext,winWes.proShaLen.eqnTim.k,$PRE.winWes.proShaLen.eqnTim.k,winWes.proShaLen.eqnTim.tNext,$PRE.winWes.proShaLen.eqnTim.tNext,winWes.proShaLen.locTim.k,$PRE.winWes.proShaLen.locTim.k,winWes.proShaLen.locTim.tNext,$PRE.winWes.proShaLen.locTim.tNext,$whenCondition4,$whenCondition5,$whenCondition6,winSou.proShaLen.solAzi.outsidePolarCircle,winSou.proShaLen.decAng.k,$PRE.winSou.proShaLen.decAng.k,winSou.proShaLen.decAng.tNext,$PRE.winSou.proShaLen.decAng.tNext,winSou.proShaLen.eqnTim.k,$PRE.winSou.proShaLen.eqnTim.k,winSou.proShaLen.eqnTim.tNext,$PRE.winSou.proShaLen.eqnTim.tNext,winSou.proShaLen.locTim.k,$PRE.winSou.proShaLen.locTim.k,winSou.proShaLen.locTim.tNext,$PRE.winSou.proShaLen.locTim.tNext,$whenCondition7,$whenCondition8,$whenCondition9,winEas.proShaLen.solAzi.outsidePolarCircle,winEas.proShaLen.decAng.k,$PRE.winEas.proShaLen.decAng.k,winEas.proShaLen.decAng.tNext,$PRE.winEas.proShaLen.decAng.tNext,winEas.proShaLen.eqnTim.k,$PRE.winEas.proShaLen.eqnTim.k,winEas.proShaLen.eqnTim.tNext,$PRE.winEas.proShaLen.eqnTim.tNext,winEas.proShaLen.locTim.k,$PRE.winEas.proShaLen.locTim.k,winEas.proShaLen.locTim.tNext,$PRE.winEas.proShaLen.locTim.tNext,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 168 * 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.0002113/0.02666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.02674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008611/0.0276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.02761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.02763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.02764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.02904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.02904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.0294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.0294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.02945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.02946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.03013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.03034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.03054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.0308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.03096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.03101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001768/0.03119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.186e-05/0.0312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006237/0.03182, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition3,$whenCondition2,$whenCondition1,winNor.proShaLen.locTim.tNext,winNor.proShaLen.locTim.k,winNor.proShaLen.eqnTim.tNext,winNor.proShaLen.eqnTim.k,winNor.proShaLen.decAng.tNext,winNor.proShaLen.decAng.k,$whenCondition6,$whenCondition5,$whenCondition4,winWes.proShaLen.locTim.tNext,winWes.proShaLen.locTim.k,winWes.proShaLen.eqnTim.tNext,winWes.proShaLen.eqnTim.k,winWes.proShaLen.decAng.tNext,winWes.proShaLen.decAng.k,$whenCondition9,$whenCondition8,$whenCondition7,winSou.proShaLen.locTim.tNext,winSou.proShaLen.locTim.k,winSou.proShaLen.eqnTim.tNext,winSou.proShaLen.eqnTim.k,winSou.proShaLen.decAng.tNext,winSou.proShaLen.decAng.k,$whenCondition12,$whenCondition11,$whenCondition10,winEas.proShaLen.locTim.tNext,winEas.proShaLen.locTim.k,winEas.proShaLen.eqnTim.tNext,winEas.proShaLen.eqnTim.k,winEas.proShaLen.decAng.tNext,winEas.proShaLen.decAng.k) * Number of discrete states: 24 (winEas.proShaLen.eqnTim.tNext,winEas.proShaLen.locTim.tNext,winEas.proShaLen.decAng.tNext,winEas.proShaLen.decAng.k,winEas.proShaLen.eqnTim.k,winEas.proShaLen.locTim.k,winSou.proShaLen.eqnTim.tNext,winSou.proShaLen.locTim.tNext,winSou.proShaLen.decAng.tNext,winSou.proShaLen.decAng.k,winSou.proShaLen.eqnTim.k,winSou.proShaLen.locTim.k,winWes.proShaLen.eqnTim.tNext,winWes.proShaLen.locTim.tNext,winWes.proShaLen.decAng.tNext,winWes.proShaLen.decAng.k,winWes.proShaLen.eqnTim.k,winWes.proShaLen.locTim.k,winNor.proShaLen.eqnTim.tNext,winNor.proShaLen.locTim.tNext,winNor.proShaLen.decAng.tNext,winNor.proShaLen.decAng.k,winNor.proShaLen.eqnTim.k,winNor.proShaLen.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * 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.0007699/0.03259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0007488/0.03334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.03363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.03456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.03597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.03612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003001/0.03642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.0367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.901e-05/0.03673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003772/0.0405, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.243256164714694]