Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001435/0.001441, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.55/2.55, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 0.8692 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7747, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01003/0.7848, allocations: 7.011 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1884/0.9733, allocations: 155.6 MB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.9752, allocations: 23.88 kB / 1.176 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005251/0.9805, allocations: 1.805 MB / 1.178 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.9839, allocations: 0.8819 MB / 1.179 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.9866, allocations: 1.028 MB / 1.18 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004179/0.9908, allocations: 3.657 MB / 1.183 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.9922, allocations: 0.9135 MB / 1.184 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.9943, allocations: 1.184 MB / 1.185 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.9959, allocations: 1.076 MB / 1.186 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003255/0.9963, allocations: 200 kB / 1.187 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004138/1, allocations: 2.2 MB / 1.189 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/1.002, allocations: 1.365 MB / 1.19 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/1.003, allocations: 1.03 MB / 1.191 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006762/1.01, allocations: 3.954 MB / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.01, allocations: 0 / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.764e-06/1.01, allocations: 0 / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.506e-05/1.01, allocations: 4 kB / 1.195 GB, free: 11.77 MB / 0.9512 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.00545/1.015, allocations: 2.601 MB / 1.197 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.015, allocations: 8.031 kB / 1.197 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/1.016, allocations: 262.2 kB / 1.198 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/1.02, allocations: 2.997 MB / 1.201 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/1.02, allocations: 114.4 kB / 1.201 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/1.02, allocations: 151.9 kB / 1.201 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/1.022, allocations: 1.542 MB / 1.202 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/1.022, allocations: 0 / 1.202 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/1.023, allocations: 52 kB / 1.202 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/1.023, allocations: 28 kB / 1.203 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/1.025, allocations: 1.609 MB / 1.204 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009114/1.034, allocations: 5.78 MB / 1.21 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/1.037, allocations: 1.43 MB / 1.211 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/1.038, allocations: 0.894 MB / 1.212 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.317e-05/1.038, allocations: 37.12 kB / 1.212 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/1.039, allocations: 0.9537 MB / 1.213 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=104): time 3.667e-06/1.039, allocations: 3.938 kB / 1.213 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104): time 0.004531/1.044, allocations: 2.664 MB / 1.216 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/1.044, allocations: 340.2 kB / 1.216 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005515/1.049, allocations: 4.377 MB / 1.22 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002523/1.05, allocations: 57.69 kB / 1.22 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006457/1.05, allocations: 0.6969 MB / 1.221 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/1.051, allocations: 343.1 kB / 1.221 GB, free: 388 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/1.052, allocations: 1.071 MB / 1.222 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.052, allocations: 309.1 kB / 1.223 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006254/1.058, allocations: 7.043 MB / 1.229 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006976/1.065, allocations: 7.305 MB / 1.237 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009504/1.075, allocations: 8.999 MB / 1.245 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.075, allocations: 64 / 1.245 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.6191/1.694, allocations: 15.85 MB / 1.261 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003508/1.694, allocations: 150.4 kB / 1.261 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.694, allocations: 1.562 kB / 1.261 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.658e-05/1.694, allocations: 7.375 kB / 1.261 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.696, allocations: 322.3 kB / 1.261 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/1.696, allocations: 8.906 kB / 1.261 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.697, allocations: 188.5 kB / 1.261 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.698, allocations: 83.59 kB / 1.262 GB, free: 228.7 MB / 0.9981 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.001358/1.699, allocations: 0.8412 MB / 1.262 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/1.699, allocations: 152.5 kB / 1.263 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003946/1.703, allocations: 2.381 MB / 1.265 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.703, allocations: 10.33 kB / 1.265 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.703, allocations: 4.719 kB / 1.265 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/1.703, allocations: 8.812 kB / 1.265 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/1.705, allocations: 1.362 MB / 1.266 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.705, allocations: 1.094 kB / 1.266 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/1.706, allocations: 157.5 kB / 1.266 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/1.706, allocations: 3.562 kB / 1.266 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/1.706, allocations: 34.52 kB / 1.266 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/1.706, allocations: 3.438 kB / 1.266 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.706, allocations: 0 / 1.266 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/1.709, allocations: 2.252 MB / 1.269 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/1.71, allocations: 399.6 kB / 1.269 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/1.71, allocations: 30.59 kB / 1.269 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/1.711, allocations: 69.33 kB / 1.269 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/1.711, allocations: 80.41 kB / 1.269 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.711, allocations: 60.77 kB / 1.269 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002779/1.714, allocations: 2.799 MB / 1.272 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.714, allocations: 0 / 1.272 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002126/1.716, allocations: 1.08 MB / 1.273 GB, free: 225.2 MB / 0.9981 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.00207/1.718, allocations: 0.9443 MB / 1.274 GB, free: 225 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008869/1.727, allocations: 11.15 MB / 1.285 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.727, allocations: 0 / 1.285 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.729, allocations: 1.528 MB / 1.286 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.73, allocations: 361.4 kB / 1.287 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/1.737, allocations: 5.65 MB / 1.292 GB, free: 210 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.739, allocations: 1.783 MB / 1.294 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001361/1.74, allocations: 385.7 kB / 1.294 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/1.74, allocations: 150.3 kB / 1.294 GB, free: 208.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.74, allocations: 0 / 1.294 GB, free: 208.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.05179/1.792, allocations: 32.46 MB / 1.326 GB, free: 176.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches