Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001498/0.001498, allocations: 111.8 kB / 16.41 MB, free: 6.492 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.001389/0.001389, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.789/2.789, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 151.6 MB / 1.167 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.00943/1.097, allocations: 5.259 MB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00715/1.104, allocations: 3.01 MB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/1.105, allocations: 12 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006253/1.106, allocations: 130.3 kB / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003163/1.109, allocations: 0.6268 MB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/1.111, allocations: 0.5579 MB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00295/1.114, allocations: 1.759 MB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/1.115, allocations: 0.5083 MB / 1.179 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/1.116, allocations: 0.6578 MB / 1.18 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/1.118, allocations: 0.7374 MB / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003662/1.118, allocations: 192 kB / 1.18 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008244/1.119, allocations: 383.7 kB / 1.181 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003746/1.12, allocations: 382.8 kB / 1.181 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000924/1.121, allocations: 0.7349 MB / 1.182 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0031/1.124, allocations: 2.075 MB / 1.184 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.124, allocations: 4 kB / 1.184 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.823e-06/1.124, allocations: 0 / 1.184 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.107e-05/1.124, allocations: 0 / 1.184 GB, free: 2.672 MB / 0.9044 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.004256/1.128, allocations: 1.69 MB / 1.186 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.128, allocations: 12.03 kB / 1.186 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/1.128, allocations: 136.1 kB / 1.186 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/1.131, allocations: 1.035 MB / 1.187 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/1.131, allocations: 74.31 kB / 1.187 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/1.131, allocations: 92.12 kB / 1.187 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/1.133, allocations: 1.061 MB / 1.188 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.133, allocations: 0 / 1.188 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.564e-05/1.133, allocations: 36 kB / 1.188 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/1.133, allocations: 24 kB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/1.135, allocations: 0.856 MB / 1.189 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005925/1.141, allocations: 3.179 MB / 1.192 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/1.146, allocations: 1.449 MB / 1.193 GB, free: 8.816 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/1.147, allocations: 498.1 kB / 1.194 GB, free: 8.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/1.147, allocations: 31.89 kB / 1.194 GB, free: 8.289 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/1.148, allocations: 0.7544 MB / 1.195 GB, free: 7.512 MB / 0.92 GB Notification: Performance of pre-optimization done (n=116): time 2.995e-06/1.148, allocations: 0 / 1.195 GB, free: 7.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=116): time 0.003383/1.152, allocations: 1.516 MB / 1.196 GB, free: 5.992 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.152, allocations: 148.4 kB / 1.196 GB, free: 5.816 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.153, allocations: 0.7745 MB / 1.197 GB, free: 5.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/1.153, allocations: 57.69 kB / 1.197 GB, free: 4.969 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/1.153, allocations: 421.6 kB / 1.197 GB, free: 4.551 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/1.154, allocations: 380.8 kB / 1.198 GB, free: 4.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/1.154, allocations: 206.8 kB / 1.198 GB, free: 3.965 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002147/1.154, allocations: 345.9 kB / 1.198 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008073/1.155, allocations: 394.5 kB / 1.199 GB, free: 3.238 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.156, allocations: 0.5199 MB / 1.199 GB, free: 2.676 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.158, allocations: 0.8538 MB / 1.2 GB, free: 1.801 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.158, allocations: 4 kB / 1.2 GB, free: 1.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002636/1.161, allocations: 1.102 MB / 1.201 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/1.161, allocations: 4 kB / 1.201 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.161, allocations: 4 kB / 1.201 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/1.161, allocations: 7.984 kB / 1.201 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.162, allocations: 227.7 kB / 1.201 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/1.162, allocations: 7.938 kB / 1.201 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.163, allocations: 151.3 kB / 1.201 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.163, allocations: 47.95 kB / 1.202 GB, free: 252 kB / 0.92 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.0007695/1.164, allocations: 311 kB / 1.202 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/1.164, allocations: 115.3 kB / 1.202 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/1.168, allocations: 1.518 MB / 1.203 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/1.168, allocations: 20 kB / 1.203 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.168, allocations: 7.938 kB / 1.203 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/1.168, allocations: 7.969 kB / 1.203 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/1.17, allocations: 1.324 MB / 1.205 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.17, allocations: 0 / 1.205 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.171, allocations: 219.7 kB / 1.205 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/1.171, allocations: 11.94 kB / 1.205 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/1.171, allocations: 47.89 kB / 1.205 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/1.171, allocations: 4 kB / 1.205 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.171, allocations: 3.938 kB / 1.205 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/1.174, allocations: 1.364 MB / 1.206 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/1.174, allocations: 363.8 kB / 1.207 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/1.174, allocations: 36 kB / 1.207 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008775/1.175, allocations: 75.92 kB / 1.207 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/1.176, allocations: 123.7 kB / 1.207 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.176, allocations: 55.97 kB / 1.207 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008753/1.177, allocations: 0.5654 MB / 1.208 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.177, allocations: 0 / 1.208 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009667/1.178, allocations: 343.3 kB / 1.208 GB, free: 9.656 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition12,$whenCondition11,$whenCondition10,winEas.proShaLen.locTim.tNext,winEas.proShaLen.eqnTim.tNext,winEas.proShaLen.decAng.tNext,$whenCondition9,$whenCondition8,$whenCondition7,winSou.proShaLen.locTim.tNext,winSou.proShaLen.eqnTim.tNext,winSou.proShaLen.decAng.tNext,$whenCondition6,$whenCondition5,$whenCondition4,winWes.proShaLen.locTim.tNext,winWes.proShaLen.eqnTim.tNext,winWes.proShaLen.decAng.tNext,$whenCondition3,$whenCondition2,$whenCondition1,winNor.proShaLen.locTim.tNext,winNor.proShaLen.eqnTim.tNext,winNor.proShaLen.decAng.tNext) * Number of discrete states: 12 (winNor.proShaLen.locTim.tNext,winNor.proShaLen.eqnTim.tNext,winNor.proShaLen.decAng.tNext,winWes.proShaLen.locTim.tNext,winWes.proShaLen.eqnTim.tNext,winWes.proShaLen.decAng.tNext,winSou.proShaLen.locTim.tNext,winSou.proShaLen.eqnTim.tNext,winSou.proShaLen.decAng.tNext,winEas.proShaLen.locTim.tNext,winEas.proShaLen.eqnTim.tNext,winEas.proShaLen.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0009281/1.179, allocations: 344.9 kB / 1.208 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002252/1.181, allocations: 1.064 MB / 1.209 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.181, allocations: 256 / 1.209 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/1.182, allocations: 0.6496 MB / 1.21 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/1.183, allocations: 101.2 kB / 1.21 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/1.187, allocations: 2.035 MB / 1.212 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.188, allocations: 1.085 MB / 1.213 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008189/1.189, allocations: 188.5 kB / 1.213 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/1.19, allocations: 139.3 kB / 1.213 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/1.19, allocations: 0 / 1.213 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of Templates: time 0.03116/1.221, allocations: 14.23 MB / 1.227 GB, free: 5.914 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches