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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001382/0.001382, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001511/0.001511, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.431/2.431, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 72.36 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2623, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008077/0.2704, allocations: 7 MB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6372/0.9077, allocations: 155.6 MB / 1.185 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.909, allocations: 26.25 kB / 1.186 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004968/0.914, allocations: 1.812 MB / 1.187 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.9168, allocations: 0.8752 MB / 1.188 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.9193, allocations: 1.036 MB / 1.189 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004038/0.9234, allocations: 3.67 MB / 1.193 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.9249, allocations: 0.9151 MB / 1.194 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.9268, allocations: 1.192 MB / 1.195 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.9286, allocations: 1.058 MB / 1.196 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004835/0.9291, allocations: 198.9 kB / 1.196 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.9331, allocations: 2.251 MB / 1.198 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.9345, allocations: 1.365 MB / 1.2 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.9362, allocations: 1.03 MB / 1.201 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005484/0.9417, allocations: 4.012 MB / 1.204 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.9417, allocations: 0 / 1.204 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.006e-06/0.9417, allocations: 0 / 1.204 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.422e-05/0.9418, allocations: 3.938 kB / 1.204 GB, free: 5.539 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.005271/0.9471, allocations: 2.605 MB / 1.207 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.9471, allocations: 9.375 kB / 1.207 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008046/0.9479, allocations: 270.8 kB / 1.207 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.9514, allocations: 3.023 MB / 1.21 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.39e-05/0.9515, allocations: 114.4 kB / 1.21 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.9517, allocations: 148 kB / 1.21 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.9543, allocations: 1.542 MB / 1.212 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.9543, allocations: 4 kB / 1.212 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.9545, allocations: 51.75 kB / 1.212 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.9546, allocations: 32 kB / 1.212 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.9569, allocations: 1.609 MB / 1.214 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008157/0.9651, allocations: 5.737 MB / 1.219 GB, free: 7.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.9672, allocations: 1.436 MB / 1.221 GB, free: 6.484 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.9683, allocations: 0.894 MB / 1.222 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-05/0.9684, allocations: 32.94 kB / 1.222 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/0.9697, allocations: 0.9498 MB / 1.222 GB, free: 4.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=104): time 2.986e-06/0.9698, allocations: 0 / 1.222 GB, free: 4.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=104): time 0.004151/0.9739, allocations: 2.68 MB / 1.225 GB, free: 1.902 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/0.9741, allocations: 326.5 kB / 1.225 GB, free: 1.531 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004865/0.979, allocations: 4.373 MB / 1.23 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.9792, allocations: 61.7 kB / 1.23 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/0.9798, allocations: 0.6929 MB / 1.23 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.9801, allocations: 351.1 kB / 1.231 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009928/0.9811, allocations: 1.079 MB / 1.232 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.9812, allocations: 301.1 kB / 1.232 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006132/0.9873, allocations: 7.039 MB / 1.239 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006542/0.9939, allocations: 7.313 MB / 1.246 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008381/1.002, allocations: 8.999 MB / 1.255 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.002, allocations: 3.938 kB / 1.255 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01531/1.018, allocations: 15.86 MB / 1.27 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/1.018, allocations: 153.7 kB / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.018, allocations: 0 / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.018, allocations: 8 kB / 1.271 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.019, allocations: 323.5 kB / 1.271 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/1.019, allocations: 8 kB / 1.271 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.02, allocations: 192.3 kB / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.021, allocations: 75.97 kB / 1.271 GB, free: 2.566 MB / 0.9669 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.001077/1.022, allocations: 0.8526 MB / 1.272 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/1.022, allocations: 150 kB / 1.272 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/1.026, allocations: 2.364 MB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/1.026, allocations: 16 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.026, allocations: 0 / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/1.026, allocations: 3.984 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/1.027, allocations: 1.361 MB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.027, allocations: 3.938 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/1.028, allocations: 163.7 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/1.028, allocations: 4 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/1.028, allocations: 35.97 kB / 1.276 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/1.028, allocations: 8 kB / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.028, allocations: 0 / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00309/1.031, allocations: 2.244 MB / 1.278 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/1.032, allocations: 402.8 kB / 1.279 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/1.032, allocations: 24 kB / 1.279 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000779/1.033, allocations: 75.92 kB / 1.279 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/1.033, allocations: 80.89 kB / 1.279 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.033, allocations: 55.95 kB / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00242/1.035, allocations: 2.799 MB / 1.281 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.035, allocations: 0 / 1.281 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002125/1.038, allocations: 1.081 MB / 1.283 GB, free: 6.727 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.002181/1.04, allocations: 0.9575 MB / 1.283 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009587/1.049, allocations: 10.7 MB / 1.294 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.049, allocations: 8 kB / 1.294 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/1.051, allocations: 1.524 MB / 1.295 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/1.053, allocations: 363.8 kB / 1.296 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/1.06, allocations: 5.604 MB / 1.301 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/1.061, allocations: 1.783 MB / 1.303 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001056/1.062, allocations: 382.9 kB / 1.303 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/1.062, allocations: 151.4 kB / 1.303 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.062, allocations: 0 / 1.303 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of Templates: time 0.05633/1.119, allocations: 32.53 MB / 1.335 GB, free: 1.008 MB / 1.029 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 -s gbode -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