Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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_9_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_9_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.001483/0.001483, allocations: 103.4 kB / 16.35 MB, free: 5.875 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.001628/0.001628, allocations: 191 kB / 17.29 MB, free: 5.516 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.03 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2579, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007579/0.2655, allocations: 5.782 MB / 0.9568 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6779/0.9435, allocations: 155.4 MB / 1.109 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.9449, allocations: 29.94 kB / 1.109 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005734/0.9507, allocations: 1.78 MB / 1.11 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.9533, allocations: 0.7717 MB / 1.111 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.956, allocations: 1.024 MB / 1.112 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.961, allocations: 3.462 MB / 1.115 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.9627, allocations: 0.9534 MB / 1.116 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.9657, allocations: 1.158 MB / 1.118 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.9679, allocations: 1.034 MB / 1.119 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003777/0.9683, allocations: 200 kB / 1.119 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006144/0.9745, allocations: 2.259 MB / 1.121 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.9762, allocations: 1.358 MB / 1.122 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.9776, allocations: 0.9931 MB / 1.123 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007308/0.9849, allocations: 3.946 MB / 1.127 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.985, allocations: 4 kB / 1.127 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.687e-06/0.985, allocations: 0 / 1.127 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.648e-05/0.985, allocations: 4.812 kB / 1.127 GB, free: 2.75 MB / 0.8575 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.005418/0.9904, allocations: 2.574 MB / 1.13 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9905, allocations: 9.25 kB / 1.13 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/0.9914, allocations: 265.8 kB / 1.13 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003816/0.9952, allocations: 3.022 MB / 1.133 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.415e-05/0.9953, allocations: 111.9 kB / 1.133 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.9956, allocations: 152.6 kB / 1.133 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.9979, allocations: 1.546 MB / 1.135 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.9979, allocations: 0 / 1.135 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.9981, allocations: 52.34 kB / 1.135 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.9981, allocations: 28.25 kB / 1.135 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/1, allocations: 1.615 MB / 1.136 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008214/1.009, allocations: 5.324 MB / 1.141 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/1.011, allocations: 1.434 MB / 1.143 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/1.012, allocations: 0.8895 MB / 1.144 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.052e-05/1.012, allocations: 44.73 kB / 1.144 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001478/1.014, allocations: 0.9456 MB / 1.145 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 3.256e-06/1.014, allocations: 0 / 1.145 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=104): time 0.004517/1.018, allocations: 2.674 MB / 1.147 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002358/1.019, allocations: 328.9 kB / 1.148 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005256/1.024, allocations: 4.377 MB / 1.152 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002965/1.024, allocations: 62.31 kB / 1.152 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/1.025, allocations: 0.6877 MB / 1.153 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/1.025, allocations: 349.2 kB / 1.153 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/1.026, allocations: 1.077 MB / 1.154 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.026, allocations: 305.1 kB / 1.154 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006258/1.033, allocations: 7.043 MB / 1.161 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006551/1.039, allocations: 7.306 MB / 1.168 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009036/1.048, allocations: 8.995 MB / 1.177 GB, free: 340 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/1.048, allocations: 3.938 kB / 1.177 GB, free: 336 kB / 0.8731 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01703/1.065, allocations: 15.86 MB / 1.193 GB, free: 476 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000199/1.065, allocations: 155.6 kB / 1.193 GB, free: 316 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.066, allocations: 3.938 kB / 1.193 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/1.066, allocations: 8 kB / 1.193 GB, free: 304 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.067, allocations: 319.7 kB / 1.193 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/1.067, allocations: 11.94 kB / 1.193 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.069, allocations: 190 kB / 1.193 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/1.069, allocations: 81.09 kB / 1.193 GB, free: 15.71 MB / 0.9044 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.001361/1.07, allocations: 0.8452 MB / 1.194 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/1.07, allocations: 150.1 kB / 1.194 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/1.074, allocations: 2.374 MB / 1.197 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.074, allocations: 11.98 kB / 1.197 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.074, allocations: 4 kB / 1.197 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.074, allocations: 5.109 kB / 1.197 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/1.076, allocations: 1.362 MB / 1.198 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.076, allocations: 0 / 1.198 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/1.077, allocations: 155.8 kB / 1.198 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.077, allocations: 4 kB / 1.198 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.683e-05/1.077, allocations: 39.97 kB / 1.198 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.077, allocations: 4 kB / 1.198 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.077, allocations: 0 / 1.198 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/1.08, allocations: 2.252 MB / 1.2 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/1.081, allocations: 402.8 kB / 1.201 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.081, allocations: 31.89 kB / 1.201 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/1.082, allocations: 67.92 kB / 1.201 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.082, allocations: 88.83 kB / 1.201 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.082, allocations: 55.97 kB / 1.201 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002757/1.085, allocations: 2.799 MB / 1.204 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.085, allocations: 0 / 1.204 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002889/1.088, allocations: 1.056 MB / 1.205 GB, free: 3.918 MB / 0.9044 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.002392/1.09, allocations: 0.9536 MB / 1.206 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.101, allocations: 10.7 MB / 1.216 GB, free: 8.473 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.101, allocations: 0 / 1.216 GB, free: 8.473 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/1.102, allocations: 1.528 MB / 1.218 GB, free: 6.934 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/1.104, allocations: 335.9 kB / 1.218 GB, free: 6.625 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/1.111, allocations: 5.574 MB / 1.223 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/1.113, allocations: 1.786 MB / 1.225 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001085/1.114, allocations: 382.7 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/1.114, allocations: 151.4 kB / 1.226 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of SimCode: time 1.223e-06/1.114, allocations: 4 kB / 1.226 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.05749/1.172, allocations: 31.69 MB / 1.257 GB, free: 15.16 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches