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.001467/0.001467, allocations: 119 kB / 16.42 MB, free: 6.473 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.00165/0.00165, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.17 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.415/2.415, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 72.11 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.7174, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.006769/0.7242, allocations: 5.273 MB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005302/0.7295, allocations: 3.006 MB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007979/0.7303, allocations: 16 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.7308, allocations: 126.4 kB / 1.176 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.7331, allocations: 0.6227 MB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.7342, allocations: 0.5618 MB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.7362, allocations: 1.751 MB / 1.178 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007684/0.737, allocations: 0.5199 MB / 1.179 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009777/0.7379, allocations: 0.654 MB / 1.18 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008395/0.7388, allocations: 0.7352 MB / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.739, allocations: 192 kB / 1.18 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.7396, allocations: 383.8 kB / 1.181 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.7399, allocations: 374.8 kB / 1.181 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006304/0.7406, allocations: 0.7426 MB / 1.182 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.7424, allocations: 2.07 MB / 1.184 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7424, allocations: 0 / 1.184 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7424, allocations: 0 / 1.184 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.7425, allocations: 0 / 1.184 GB, free: 2.766 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.003637/0.7461, allocations: 1.645 MB / 1.185 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7462, allocations: 8.031 kB / 1.185 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.7464, allocations: 131.3 kB / 1.186 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.7483, allocations: 1.032 MB / 1.187 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.7484, allocations: 74.38 kB / 1.187 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.7485, allocations: 100.1 kB / 1.187 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.7504, allocations: 1.061 MB / 1.188 GB, free: 14.6 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.7504, allocations: 0 / 1.188 GB, free: 14.6 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.7505, allocations: 40 kB / 1.188 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.7505, allocations: 20 kB / 1.188 GB, free: 14.54 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.7522, allocations: 0.856 MB / 1.189 GB, free: 13.68 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005095/0.7573, allocations: 3.178 MB / 1.192 GB, free: 10.44 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.7618, allocations: 1.434 MB / 1.193 GB, free: 8.977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008597/0.7626, allocations: 494.1 kB / 1.194 GB, free: 8.484 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.75e-05/0.7627, allocations: 27.91 kB / 1.194 GB, free: 8.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.764, allocations: 0.7544 MB / 1.194 GB, free: 7.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=116): time 2.916e-06/0.764, allocations: 0 / 1.194 GB, free: 7.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=116): time 0.003062/0.7671, allocations: 1.511 MB / 1.196 GB, free: 6.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.7672, allocations: 144.5 kB / 1.196 GB, free: 5.992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.7682, allocations: 0.7899 MB / 1.197 GB, free: 5.191 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.119e-05/0.7683, allocations: 53.7 kB / 1.197 GB, free: 5.133 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.7686, allocations: 409 kB / 1.197 GB, free: 4.727 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.7689, allocations: 362.8 kB / 1.198 GB, free: 4.367 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.7692, allocations: 202.8 kB / 1.198 GB, free: 4.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7694, allocations: 353.9 kB / 1.198 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000768/0.7701, allocations: 394.5 kB / 1.199 GB, free: 3.426 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/0.771, allocations: 0.5276 MB / 1.199 GB, free: 2.855 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.7726, allocations: 0.846 MB / 1.2 GB, free: 1.988 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.7726, allocations: 4 kB / 1.2 GB, free: 1.984 MB / 0.92 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00213/0.7748, allocations: 1.098 MB / 1.201 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.7748, allocations: 8 kB / 1.201 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.7748, allocations: 0 / 1.201 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.7748, allocations: 12 kB / 1.201 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.7759, allocations: 223.6 kB / 1.201 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.7759, allocations: 11.94 kB / 1.201 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.777, allocations: 151 kB / 1.201 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.7771, allocations: 47.95 kB / 1.201 GB, free: 444 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.0004859/0.7776, allocations: 310.8 kB / 1.202 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.7778, allocations: 98.78 kB / 1.202 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/0.7807, allocations: 1.514 MB / 1.203 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.7807, allocations: 11.97 kB / 1.203 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.7807, allocations: 0 / 1.203 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.7812, allocations: 371.1 kB / 1.204 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.7814, allocations: 39.94 kB / 1.204 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/0.7823, allocations: 71.92 kB / 1.204 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.7825, allocations: 119.7 kB / 1.204 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002673/0.7852, allocations: 1.643 MB / 1.205 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002412/0.7876, allocations: 1.704 MB / 1.207 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009962/0.7886, allocations: 0.5894 MB / 1.208 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007243/0.7894, allocations: 0.5654 MB / 1.208 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of Backend: time 3.81e-07/0.7894, allocations: 0 / 1.208 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002451/0.7918, allocations: 0.8938 MB / 1.209 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of SimCode: time 0.00243/0.7943, allocations: 2.019 MB / 1.211 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of Templates: time 0.02555/0.8198, allocations: 16.28 MB / 1.227 GB, free: 6.277 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 -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