Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.0013, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001259/0.001259, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.547/2.547, allocations: 469.4 MB / 0.7428 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.91 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6776, allocations: 159.1 MB / 1.221 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008364/0.686, allocations: 6.998 MB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1547/0.8407, allocations: 155.6 MB / 1.38 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.8423, allocations: 27.88 kB / 1.38 GB, free: 15.04 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.8465, allocations: 1.822 MB / 1.381 GB, free: 13.21 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.8488, allocations: 0.8875 MB / 1.382 GB, free: 12.32 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.8509, allocations: 1.045 MB / 1.383 GB, free: 11.29 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003373/0.8543, allocations: 3.668 MB / 1.387 GB, free: 7.609 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.8555, allocations: 0.9174 MB / 1.388 GB, free: 6.641 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.8568, allocations: 1.196 MB / 1.389 GB, free: 5.441 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.858, allocations: 1.07 MB / 1.39 GB, free: 4.367 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.8583, allocations: 200 kB / 1.39 GB, free: 4.172 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.8615, allocations: 2.247 MB / 1.392 GB, free: 1.922 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.8626, allocations: 1.361 MB / 1.394 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008919/0.8635, allocations: 1.022 MB / 1.395 GB, free: 15.53 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.8674, allocations: 4.012 MB / 1.399 GB, free: 11.51 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.8674, allocations: 0 / 1.399 GB, free: 11.51 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8675, allocations: 0 / 1.399 GB, free: 11.51 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.8675, allocations: 0 / 1.399 GB, free: 11.51 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003986/0.8715, allocations: 2.601 MB / 1.401 GB, free: 8.84 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.8715, allocations: 8.625 kB / 1.401 GB, free: 8.832 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008067/0.8723, allocations: 266.2 kB / 1.402 GB, free: 8.57 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.8758, allocations: 3.024 MB / 1.404 GB, free: 5.492 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/0.8759, allocations: 114.4 kB / 1.405 GB, free: 5.379 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.8761, allocations: 152 kB / 1.405 GB, free: 5.23 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.8785, allocations: 1.534 MB / 1.406 GB, free: 3.637 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.8785, allocations: 8 kB / 1.406 GB, free: 3.629 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.8786, allocations: 51.98 kB / 1.406 GB, free: 3.578 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.8787, allocations: 31.94 kB / 1.406 GB, free: 3.547 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.8811, allocations: 1.609 MB / 1.408 GB, free: 1.93 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007889/0.889, allocations: 5.734 MB / 1.413 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.8912, allocations: 1.442 MB / 1.415 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.8923, allocations: 0.8863 MB / 1.416 GB, free: 9.68 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.88e-05/0.8924, allocations: 37.17 kB / 1.416 GB, free: 9.645 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/0.8938, allocations: 0.9459 MB / 1.417 GB, free: 8.688 MB / 1.139 GB Notification: Performance of pre-optimization done (n=104): time 3.005e-06/0.8938, allocations: 0 / 1.417 GB, free: 8.688 MB / 1.139 GB Notification: Performance of matching and sorting (n=104): time 0.004141/0.898, allocations: 2.68 MB / 1.419 GB, free: 5.996 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/0.8982, allocations: 332.2 kB / 1.42 GB, free: 5.625 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/0.9028, allocations: 4.377 MB / 1.424 GB, free: 1.234 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.903, allocations: 57.7 kB / 1.424 GB, free: 1.172 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.9036, allocations: 0.6969 MB / 1.425 GB, free: 476 kB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.9038, allocations: 343.1 kB / 1.425 GB, free: 128 kB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009901/0.9048, allocations: 1.075 MB / 1.426 GB, free: 15.04 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.9049, allocations: 301.1 kB / 1.426 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006657/0.9116, allocations: 7.039 MB / 1.433 GB, free: 7.703 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006928/0.9185, allocations: 7.313 MB / 1.44 GB, free: 388 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008739/0.9273, allocations: 8.995 MB / 1.449 GB, free: 7.34 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.9273, allocations: 4 kB / 1.449 GB, free: 7.336 MB / 1.17 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01575/0.9431, allocations: 15.87 MB / 1.465 GB, free: 7.406 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.9433, allocations: 153.6 kB / 1.465 GB, free: 7.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.9433, allocations: 0 / 1.465 GB, free: 7.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.9433, allocations: 8 kB / 1.465 GB, free: 7.242 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.9446, allocations: 323.5 kB / 1.465 GB, free: 6.926 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.9446, allocations: 8 kB / 1.465 GB, free: 6.918 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.9459, allocations: 195.8 kB / 1.465 GB, free: 6.727 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.946, allocations: 79.95 kB / 1.465 GB, free: 6.648 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * 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.001117/0.9472, allocations: 0.8487 MB / 1.466 GB, free: 5.785 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.9474, allocations: 150 kB / 1.466 GB, free: 5.637 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.9512, allocations: 2.368 MB / 1.469 GB, free: 3.254 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.9513, allocations: 3.984 kB / 1.469 GB, free: 3.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9513, allocations: 4 kB / 1.469 GB, free: 3.246 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/0.9519, allocations: 398.8 kB / 1.469 GB, free: 2.836 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.9521, allocations: 27.98 kB / 1.469 GB, free: 2.809 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.9529, allocations: 67.94 kB / 1.469 GB, free: 2.742 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.9532, allocations: 92.81 kB / 1.469 GB, free: 2.648 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003507/0.9567, allocations: 2.439 MB / 1.472 GB, free: 188 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003283/0.96, allocations: 2.388 MB / 1.474 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001384/0.9614, allocations: 1.199 MB / 1.475 GB, free: 12.57 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002531/0.9639, allocations: 2.795 MB / 1.478 GB, free: 9.777 MB / 1.201 GB Notification: Performance of Backend: time 4.81e-07/0.9639, allocations: 0 / 1.478 GB, free: 9.777 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.012/0.9759, allocations: 10.93 MB / 1.488 GB, free: 15.06 MB / 1.217 GB Notification: Performance of SimCode: time 0.007258/0.9832, allocations: 5.721 MB / 1.494 GB, free: 9.285 MB / 1.217 GB Notification: Performance of Templates: time 0.0555/1.039, allocations: 34.55 MB / 1.528 GB, free: 6.902 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches