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.001741/0.001741, 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.001903/0.001903, allocations: 197.9 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.775/2.775, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7704, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01077/0.7812, allocations: 7.017 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2195/1.001, allocations: 155.6 MB / 1.176 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/1.002, allocations: 27.88 kB / 1.176 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005233/1.008, allocations: 1.801 MB / 1.178 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003017/1.011, allocations: 0.8897 MB / 1.179 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002614/1.013, allocations: 1.03 MB / 1.18 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004395/1.018, allocations: 3.645 MB / 1.183 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/1.019, allocations: 0.9251 MB / 1.184 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/1.021, allocations: 1.185 MB / 1.185 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/1.023, allocations: 1.07 MB / 1.186 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003613/1.024, allocations: 200 kB / 1.187 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004383/1.028, allocations: 2.2 MB / 1.189 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001439/1.029, allocations: 1.365 MB / 1.19 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/1.031, allocations: 1.03 MB / 1.191 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006481/1.037, allocations: 3.95 MB / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.037, allocations: 0 / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.993e-06/1.037, allocations: 0 / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.056e-05/1.037, allocations: 0 / 1.195 GB, free: 11.85 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.005542/1.043, allocations: 2.601 MB / 1.198 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.043, allocations: 12.03 kB / 1.198 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000915/1.044, allocations: 274.2 kB / 1.198 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/1.048, allocations: 2.989 MB / 1.201 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/1.048, allocations: 110.4 kB / 1.201 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/1.048, allocations: 159.9 kB / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/1.051, allocations: 1.538 MB / 1.202 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/1.051, allocations: 0 / 1.202 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.051, allocations: 55.97 kB / 1.203 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/1.051, allocations: 32 kB / 1.203 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/1.054, allocations: 1.609 MB / 1.204 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009547/1.063, allocations: 5.78 MB / 1.21 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/1.066, allocations: 1.43 MB / 1.211 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/1.067, allocations: 0.8979 MB / 1.212 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.591e-05/1.067, allocations: 37.16 kB / 1.212 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/1.069, allocations: 0.9498 MB / 1.213 GB, free: 9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/1.069, allocations: 0 / 1.213 GB, free: 9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104): time 0.004812/1.074, allocations: 2.68 MB / 1.216 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000278/1.074, allocations: 324.2 kB / 1.216 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006165/1.08, allocations: 4.377 MB / 1.22 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002209/1.081, allocations: 61.7 kB / 1.22 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008519/1.081, allocations: 0.6852 MB / 1.221 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004407/1.082, allocations: 351.1 kB / 1.221 GB, free: 456 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/1.083, allocations: 1.071 MB / 1.222 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.084, allocations: 313 kB / 1.223 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007923/1.091, allocations: 7.035 MB / 1.229 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008386/1.1, allocations: 7.309 MB / 1.237 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.111, allocations: 8.995 MB / 1.245 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.111, allocations: 0 / 1.245 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.5565/1.668, allocations: 15.85 MB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003881/1.668, allocations: 150 kB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/1.668, allocations: 5.312 kB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.455e-05/1.668, allocations: 7.5 kB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.67, allocations: 323.7 kB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-05/1.67, allocations: 9.219 kB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.671, allocations: 193.2 kB / 1.262 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/1.672, allocations: 78.72 kB / 1.262 GB, free: 228.8 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.001291/1.673, allocations: 0.8447 MB / 1.262 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/1.673, allocations: 151.9 kB / 1.263 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/1.677, allocations: 2.371 MB / 1.265 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.677, allocations: 13.72 kB / 1.265 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.677, allocations: 1.312 kB / 1.265 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/1.677, allocations: 6.297 kB / 1.265 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/1.679, allocations: 1.362 MB / 1.266 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.679, allocations: 0 / 1.266 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/1.68, allocations: 165 kB / 1.266 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/1.68, allocations: 4.656 kB / 1.266 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.55e-05/1.68, allocations: 41.8 kB / 1.266 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.68, allocations: 8.031 kB / 1.266 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.68, allocations: 0 / 1.266 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/1.683, allocations: 2.243 MB / 1.269 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006078/1.684, allocations: 399.8 kB / 1.269 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/1.684, allocations: 27.75 kB / 1.269 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/1.685, allocations: 70.78 kB / 1.269 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/1.685, allocations: 85.83 kB / 1.269 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.685, allocations: 55.55 kB / 1.269 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002888/1.688, allocations: 2.799 MB / 1.272 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.688, allocations: 0 / 1.272 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002288/1.69, allocations: 1.086 MB / 1.273 GB, free: 225.3 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.003235/1.694, allocations: 0.937 MB / 1.274 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.705, allocations: 11.15 MB / 1.285 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.705, allocations: 0 / 1.285 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/1.707, allocations: 1.528 MB / 1.286 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/1.71, allocations: 352.4 kB / 1.287 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00832/1.718, allocations: 5.651 MB / 1.292 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/1.72, allocations: 1.781 MB / 1.294 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001488/1.722, allocations: 386 kB / 1.294 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/1.722, allocations: 158 kB / 1.294 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.382e-06/1.722, allocations: 0 / 1.294 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.05353/1.776, allocations: 32.46 MB / 1.326 GB, free: 176.6 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=400 -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